Skip to content

Abh-I-seK/Notes-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Setup

Clone the repo

git clone https://github.com/Abh-I-seK/Notes-Server.git

Install the dependencies

npm install

Add the environment variables

  • DATABASE_URL (Your Postgresql connection String)
  • SECRET_S (Your Secret for jwt tokens)

To run the server do the following in the root directory

tsc -b
node dist/server.js

To Test the server , make sure to run it when your database is empty.

npx jest

About

A note-keeping server built with Express and Prisma includes rate limiting via Express-Rate-Limit and API tests using Supertest.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors