Skip to content

Repository files navigation

WebDev Auth

Description

This project is aimed at creating 2 CRUD apis with JWT based authentication in Express.js

Installation

  1. Clone the repository:
git clone https://github.com/AmmarKhatri/webdev-auth
  1. Navigate to the project directory:
cd webdev-auth

How to run

Using Makefile

Start containers in the background without forcing build:

make up

Start containers with forced build (use when changes are made to code):

make up_build

Stop Docker Compose:

make down

Manually

  1. Start Docker containers:
docker compose up -d
  1. To force build (when required) and start Docker containers:
docker compose down
docker compose up --build -d
  1. To stop Docker Compose:
docker compose down

Dependencies

Node.js Docker Makefile (Windows/Linux or MacOS)

About

A sample Auth implemented repository using JWT tokens and two mongoose models with their crud operations

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages