All Projects → nemtsov → Express Starter

nemtsov / Express Starter

Licence: mit
Express Starter

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Express Starter

Ts App
Boilerplate project for a TypeScript API (Express, tsoa) + UI (React/TSX)
Stars: ✭ 182 (+1200%)
Mutual labels:  postgresql, express
Diagonistician Reactjs Express Mongoose
Question - Answers demo SPA
Stars: ✭ 13 (-7.14%)
Mutual labels:  express, jwt-authentication
Express Graphql Boilerplate
Express GraphQL API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 201 (+1335.71%)
Mutual labels:  postgresql, express
Express Postgres Starter
A starter project for Node.js with Express and Postgres running on Docker Compose
Stars: ✭ 107 (+664.29%)
Mutual labels:  postgresql, express
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (+4207.14%)
Mutual labels:  express, jwt-authentication
Postgraphile
GraphQL is a new way of communicating with your server. It eliminates the problems of over- and under-fetching, incorporates strong data types, has built-in introspection, documentation and deprecation capabilities, and is implemented in many programming languages. This all leads to gloriously low-latency user experiences, better developer experiences, and much increased productivity. Because of all this, GraphQL is typically used as a replacement for (or companion to) RESTful API services.
Stars: ✭ 10,967 (+78235.71%)
Mutual labels:  postgresql, express
Notadd
A microservice development architecture based on nest.js. —— 基于 Nest.js 的微服务开发架构。
Stars: ✭ 2,556 (+18157.14%)
Mutual labels:  postgresql, express
Goeat Api
Rest API for a food delivery application - Built with Express, Postgres, Redis, MongoDB and Nodemailer
Stars: ✭ 36 (+157.14%)
Mutual labels:  postgresql, express
Express Rest Api Boilerplate
Express REST API with JWT Authentication and support for sqlite, mysql, and postgresql
Stars: ✭ 384 (+2642.86%)
Mutual labels:  postgresql, express
Nest Angular
NestJS, Angular 6, Server Side Rendering (Angular Universal), GraphQL, JWT (JSON Web Tokens) and Facebook/Twitter/Google Authentication, Mongoose, MongoDB, Webpack, TypeScript
Stars: ✭ 307 (+2092.86%)
Mutual labels:  express, jwt-authentication
Aclify
🔒 Node Access Control Lists (ACL).
Stars: ✭ 49 (+250%)
Mutual labels:  postgresql, express
Express Boilerplate
🚀 Starter project for a RESTful API in Node with Express & mongoose component-based
Stars: ✭ 9 (-35.71%)
Mutual labels:  express, jwt-authentication
Authentication Server
A simple authentication service to deliver JWT with Hasura claims, based on users with multiples roles stored in a Postgres database.
Stars: ✭ 48 (+242.86%)
Mutual labels:  postgresql, jwt-authentication
Node Express Postgresql Sequelize
Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API
Stars: ✭ 148 (+957.14%)
Mutual labels:  postgresql, express
Gympoint Api
Rest API of a gym management application - built with Express, Postgres, Redis, and Nodemailer.
Stars: ✭ 39 (+178.57%)
Mutual labels:  postgresql, express
Express Starter
It's a hackathon-starter fork, but designed to use PostgreSQL by default (or MySQL)
Stars: ✭ 215 (+1435.71%)
Mutual labels:  postgresql, express
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+942.86%)
Mutual labels:  express, jwt-authentication
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (+992.86%)
Mutual labels:  express, jwt-authentication
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (+1600%)
Mutual labels:  postgresql, express
Rest Api Nodejs Mongodb
A boilerplate for REST API Development with Node.js, Express, and MongoDB
Stars: ✭ 672 (+4700%)
Mutual labels:  express, jwt-authentication

Express Starter ci

This is a starter project for the Express and Node >= 8 featuring:

  • Docker
  • PostgreSQL
  • JWT-based authentication
  • async / await everywhere
  • Designed for ease of testing with an emphasis on "few-millisecond-fast" end-to-end tests
  • Service-based folder structure (each folder in /lib is a separate service, with its own index.js, datastore.js [if necessary], and a web resource.js) for easier navigation
  • Configuration is done via environment variables

The lib/github service is here to serve as an example of how a service that has an http resource as well as non-trivial dependencies may be implemented and tested.

Note: Minimum requirement is Node v8.0.0

Usage

Development: docker-compose up

Testing: npm test

Check coverage: npm run test:cover

Re-run tests when a file changes: npm run test:watch

Production: npm install npm start

Auth

Create a new user:

curl -i -XPOST 'http://localhost:4000/users' -H 'Content-type: application/json' -d '{"email": "[email protected]", "password": "pass"}'

Create a token for the user:

curl -i -XPOST -u '[email protected]:pass' 'http://localhost:4000/tokens'

Use the token to get data:

curl -i 'http://localhost:4000/github/nodejs' -H 'Authorization: Bearer <TOKEN_FROM_PREV_STEP>'

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].