Contains a REST API for saving notes locally, built in Typescript using Express and Node.
- Clone the repository to your local machine using
git clone https://github.com/VickSuresh/Notes-be.git
. - Inside the root folder, create a file called .env . Inside, write
PORT="your desired port"
. If this isn't done, the server will be hosted on localhost:8080. This step is important - Build the project with
npm run build
. - Start the server with
npm run start
. - Unit tests can be run using
npm run test
.
The frontend must connect to this backend for the app to function.