Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.26 KB

readme.md

File metadata and controls

25 lines (18 loc) · 1.26 KB

Fullstack MERN App

This is a blog app that stores workout exercices on a mongodb database. For the moment I havent included edit functionality.

Main technologies used:

NodeJS Express.js JWT MongoDB React

  • I use validator package on backend to validate the data received from the client, and throw feedback to the user in case there are errors.
  • For authorization I am setting a JWT token on the request headers, which is verified on the backend to allow users to do add or delete workouts.

How to run

Remember to configure your mongodb database and make sure to have an .env file on backend directory containing the following:

  • MONGO_URI Add a /workouts at the end if like I did (optional)
  • PORT You can use 5000 on backend and 3000 on frontend side.
  • SECRET