Skip to content

I'm creating an authentication and authorization backend system using Node.js, Express.js, TypeScript and mongo db.

Notifications You must be signed in to change notification settings

cs-fedy/auth-system

Repository files navigation

Authentication and authorization system - backend:

I'm creating an authentication and authorization backend system using Node.js, Express.js, TypeScript and mongo db.

P.S: docker is required

installation:

  1. Clone the repo git clone https://github.com/cs-fedy/auth-system
  2. Change your current directory to the repo dir: cd auth-system
  3. Run docker compose up -d to start the db.
  4. Seed the db: yarn run db:seed
  5. If not working with node as a container then install yarn: np i -g yarn
  6. Install all the dependencies: yarn install
  7. Run the system in a dev env: yarn run dev

To drop db collections run: yarn run db:drop

used tools:

  1. Node.js: Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  2. Express.js: Fast, unopinionated, minimalist web framework for Node.js.
  3. TypeScript: TypeScript is JavaScript with syntax for types.
  4. Mongodb: MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need.
  5. SendGrid: Deliver Exceptional Email Experiences.
  6. Webpack: Webpack is an open-source JavaScript module bundler.

Author:

created at 🌙 with 💻 and ❤ by f0ody

About

I'm creating an authentication and authorization backend system using Node.js, Express.js, TypeScript and mongo db.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published