Skip to content

NestJS API that let's you store your bookmarks in postgresql

License

Notifications You must be signed in to change notification settings

MichaelLemaire10/nest-bookmark

Repository files navigation

Nest Logo

Oparadis Backend

Nodejs NestJs Typescript Prisma PostgreSQL Version Passport Passport-jwt Jest Pactum Argon2 Class-validator Class-transformer

🚩 Table of Contents

Packages

DATABASES

Name Description
PostgreSQL Relational Database

Setup

Clone dev branch into your personal repository. Clone it to local computer. Install node modules. Before starting development, you should check if there are any errors.

With https:

git clone https://github.com/MichaelLemaire10/nest-bookmark.git
npm install
npm run dev

With ssh:

git clone git@github.com:MichaelLemaire10/nest-bookmark.git
npm install
npm run dev
yarn db:dev:restart

Then you need to fill your .env file with environment variables.

cp .env.example .env

First you need to have two database local or remote.

For local with docker:

Open your .env file and add these lines to your .env file: (You can find user and password of the database in the docker-compose.yaml)

DATABASE_URL = postgresql://dev:dev@localhost:55432/test
JWT_SECRET = addyourlongsecretstring

To start the project as dev :

yarn start:dev

To launch tests :

yarn test:e2e

About

NestJS API that let's you store your bookmarks in postgresql

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published