Go to file
Marko Lazic fec2416e7f
Create LICENSE.md
Added MIT License
2023-11-02 01:42:16 +01:00
prisma initial commit 2023-11-02 00:39:57 +01:00
src removed unused bookmarks module for now 2023-11-02 00:53:19 +01:00
test initial commit 2023-11-02 00:39:57 +01:00
.env.example added .env.example 2023-11-02 00:57:35 +01:00
.eslintrc.js initial commit 2023-11-02 00:39:57 +01:00
.gitignore initial commit 2023-11-02 00:39:57 +01:00
.prettierrc initial commit 2023-11-02 00:39:57 +01:00
LICENSE.md Create LICENSE.md 2023-11-02 01:42:16 +01:00
README.md readme update 2023-11-02 00:50:44 +01:00
docker-compose.yaml initial commit 2023-11-02 00:39:57 +01:00
nest-cli.json initial commit 2023-11-02 00:39:57 +01:00
package-lock.json initial commit 2023-11-02 00:39:57 +01:00
package.json initial commit 2023-11-02 00:39:57 +01:00
tsconfig.build.json initial commit 2023-11-02 00:39:57 +01:00
tsconfig.json initial commit 2023-11-02 00:39:57 +01:00

README.md

Description

My NestJS implementation of a basic JWT authentication/authorization REST api, with user sign up / sign in, and a dockerized postgres database

Installation

$ npm install

Running the app

The Postgres database is dockerized, and the image must be installed:

docker compose up dev-db -d

Once the docker container with the database is runnig, the database can be removed, brought up again and migrated in a single command:

npm run prisma:dev:restart

The nestjs backend itself is run using the following commands:

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

TBD

License

Nest is MIT licensed.