Skip to content

rishank-shah/node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Api

This is a simple node api which can be used for creating blog posts using user authentication.

To run this api just follow the steps given below:

First you will need a .env file.

create a .env file inside node-api folder with the following contents

MONGO_URI=<MONGO_DB_URI>
PORT=<PORT_YOU_WANT_YOUR_SERVER_TO_RUN>
JWT_SECRET=<ANY_RANDOM_STRING>

Then to run the api:

cd node-api
npm install
npm run dev

About

Backend for blog site.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published