public-ol-server-template
public-ol-server-template copied to clipboard
OrangeLoops Server Project Boilerplate
Server Project Boilerplate
This server template is an empty project prepared with primary software libraries and configurations needed to begin. It has sample authentication methods used, for instance, for signing in or signing up. Besides, everything needed to connect to a database is already set. The project is ready to work with our React web app template and our React Native mobile app template, providing a unified experience among the three.
Components
-
Node.js for JavaScript runtime.
-
Apollo as GraphQL implementation.
-
GraphQL Modules to implement 'modules' on GraphQL.
-
Sequelize as multi SQL dialect ORM for Node.js.
-
Sequelize-Typescript typescript decorators for Sequelize.
-
TypeScript as main language.
-
Babel for JavaScript transpiling.
-
Jest as as test framework.
-
Prettier for code formatter.
-
ESlint for JavaScript/TypeScript linting.
-
Husky for Git hooks support.
-
Lint-staged to run linters on git staged files.
Getting Started
Run the following commands in your terminal
git clone https://github.com/orangeloops/public-ol-server-template.git
cd public-ol-server-template
npm install
npm run db:create
npm run start:watch
[ Optional ] Run db:seed to charge the database with initial dummy values
Then open http://localhost:5000/ on your web browser.
Testing
Run npm test for test.
License
You can check out the full license here
This project is licensed under the terms of the MIT license.