Daily Api

Provide the daily.dev feed and engagement layer
Alternatives To Daily Api
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Supabase47,289
16 hours ago36March 16, 2020276apache-2.0TypeScript
The open source Firebase alternative. Follow to stay updated about our public Beta.
Graphql Engine29,4621a day ago17June 22, 20222,101apache-2.0TypeScript
Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Directus20,7325018 hours ago55September 22, 2022352gpl-3.0TypeScript
The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.
Parse Server20,1471,140893 days ago220September 20, 2022378apache-2.0JavaScript
Parse Server for Node.js / Express
Postgraphile11,8567699a month ago156May 25, 202263mitTypeScript
Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!
Nhost6,4419a day ago91September 20, 2022163mitTypeScript
The Open Source Firebase Alternative with GraphQL.
React Firebase Starter4,44722 months ago25July 22, 2016135mitJavaScript
Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
Space Cloud3,736
a month ago40September 05, 2021177apache-2.0Go
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
Relay Starter Kit3,732
18 days ago28December 14, 201710mitTypeScript
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, Material UI.
Graphjin2,6382a day ago457September 20, 202216apache-2.0Go
GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks
Alternatives To Daily Api
Select To Compare


Alternative Project Comparisons
Readme

Daily API V2

Provide the daily.dev feed and engagement layer

Build Status License StackShare

The project started as a monolith service for everything the extension needed (thus Daily API). Safely and slowly it was tore apart to other services to make every service has only one responsibility. The so called Daily API kept to itself the content domain. The feed you know very well is delivered from here, along with other very useful endpoints.

Stack

  • Node v18 (a .nvmrc is presented for nvm users).
  • NPM for managing dependencies.
  • Fastify as the web framework
  • Apollo for GraphQL
  • Typeorm as a database layer

Project structure

  • __tests__ - There you can find all the tests and fixtures. Tests are written using jest.
  • bin - Folder with utilities and executables.
  • helm - The home of the service helm chart for easily deploying it to kubernetes.
  • seeds - JSON files with seed data for local development.
  • src - This is obviously the place where you can find the source files.
    • common - Utility functions that are used across the project.
    • compatibility - Fastify routes to keep backwards compatibility with API v1.
    • cron - Tasks that will be deployed as cron jobs.
    • directive - GraphQL schema directives.
    • entity - Typeorm entities that are used to communicate with the database and sync its schema.
    • migration - Typeorm migrations folder to update the database schema.
    • schema - Apollo GraphQL resolvers, including also types.
    • workers - Pub/Sub message handlers that are deployed as part of the background processor.

Local environment

Daily API requires a running instance of PostgreSQL, you can easily set it up using the provided docker-compose file. Check out this guide of how to install Docker Compose. Once installed, you can run docker-compose up -d and viola!

Make sure to apply the latest migrations by running: npm run db:migrate:latest

.env is used to set the required environment variables. It is loaded automatically by the project.

If you want some seed data you can run: npm run db:seed:import

Finally run npm run dev to run the service and listen to port 5000.

Caveat

Currently, there is no staging environment for Algolia so there is no search functionality for local development.

GraphORM

We have an internal solution to tackle problems we have encountered along the way. The library is in its early stages so we are continually writing the documentation to provide better developer experience. Have a look at the link below: https://github.com/dailydotdev/daily-api/wiki/GraphORM

Want to Help?

So you want to contribute to Daily API and make an impact, we are glad to hear it. 😍

Before you proceed we have a few guidelines for contribution that will make everything much easier. We would appreciate if you dedicate the time and read them carefully: https://github.com/dailydotdev/.github/blob/master/CONTRIBUTING.md

Popular Postgresql Projects
Popular Graphql Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Postgresql
Graphql
Apollo