omgaz / nodejs-api-starter

πŸ’₯ Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API and PostgreSQL.

Home Page:https://graphqlstart.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL
Node.js API Starter Kit

Yarn v2 based monorepo template for quickly bootstrapping production ready web application projects optimized for serverless infrastructure, using code-first GraphQL API and PostgreSQL backend.


This project was bootstrapped with Node.js API Starter Kit. Be sure to join our Discord channel for assistance.

Directory Structure

β”œβ”€β”€.github β€” GitHub configuration including CI/CD
β”œβ”€β”€.vscode β€” VSCode settings including code snippets, recommended extensions etc.
β”œβ”€β”€env β€” environment variables used for local development
β”œβ”€β”€db β€” database schema and some administration tools
β”œβ”€β”€api β€” GraphQL API server and authentication middleware
└── ... β€” add more packages such as worker, web, mobile, etc.

Requirements

Getting Started

Just clone the repo and run yarn setup followed by yarn start:

$ npx degit https://github.com/kriasoft/nodejs-api-starter example
$ cd ./example                  # Change current directory to the newly created one
$ yarn install                  # Install Node.js dependencies
$ yarn setup                    # Configure environment variables
$ yarn start                    # Launch Node.js API application

The API server must become available at http://localhost:8080/graphql.

References

How to Contribute

Anyone and everyone is welcome to contribute. Start by checking out the list of open issues marked help wanted. However, if you decide to get involved, please take a moment to review the guidelines.

License

Copyright Β© 2016-present Kriasoft. This source code is licensed under the MIT license found in the LICENSE file.


Made with β™₯ by Konstantin Tarkus (@koistya, blog) and contributors.

About

πŸ’₯ Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API and PostgreSQL.

https://graphqlstart.com

License:MIT License


Languages

Language:TypeScript 64.3%Language:JavaScript 35.7%