Check out current hosting here: https://book-donation-api.herokuapp.com/
-
Clone the repository
git clone https://github.com/CSEKINGS/book_donation_backend.git
-
Install NPM packages
npm install
-
Rename
.env-example
to.env
file and enter followingMONGODB_URI = Your mongodb connection url PORT = Port number SECRET_KEY = access token secret key EXPIRES_IN = access token expiration time REFRESH_SECRET_KEY = Refresh token secret key REFRESH_LIFE = refresh token expiration time MAIL_HOST = Mail Host MAIL_PORT = Mail Port / default 587 MAIL_ID = Your Mail Id MAIL_PASS = Your Mail Password
-
Run the
app.js
filenode app
-
Endpoints
localhost:5000/ => Please visit to view Documantation