vaibhav-1508 / expense-tracker

https://expense-tracker-seven-sigma.vercel.app/
4 stars 8 forks source link

implemented user authentication #16

Closed NishakarKT closed 2 years ago

NishakarKT commented 2 years ago

Implemented user authentication after creating the sign in (/in) and sign up (/up) pages.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
expense-tracker ✅ Ready (Inspect) Visit Preview Oct 8, 2022 at 8:43AM (UTC)
vaibhav-1508 commented 2 years ago

The deployment link doesn't land up on the sign page Create a logic to check if the token is present

NishakarKT commented 2 years ago

Presently, one may not be able to test it from vercel, since database connection needs mongo db creds which one has to generate and add it to a .env file in ./server/ dir. Testing it locally requires initiating both frontend (npm start) and backend (cd ./server/ => npm run start) simultaneously.

Content of .env file in ./server/ dir: DB_URL= JWT_SECRET_KEY=

vaibhav-1508 commented 2 years ago

Cool! No worries!!