✅ Enabled user authentication with password using salting and hashing
✅ Manage user sessions using JWT (expires in 5 minutes)
✅ User able to Add/View/Delete URLs
✅ Different users shortened URLs are different even if request is the same
✅ Feature to generate QR Code which can be downloaded in PNG
- Reactjs
- Nodejs
- Expressjs
- MongoDB
- TailwindCSS
- Jest
Ensure docker is installed in your local machine
- Git clone repository to local machine
- Go into the server directory and create a .env file with the following configurations
ATLAS_URI="mongodb+srv://yequantan25:[email protected]/url?retryWrites=true&w=majority"
PORT=8080
JWT_TOKEN_SECRET="eyJhbGciOiJIUzI1NiJ9.eyJSb2xlIjoiQWRtaW4iLCJJc3N1ZXIiOiJJc3N1ZXIiLCJVc2VybmFtZSI6IkphdmFJblVzZSIsImV4cCI6MTY5MTIwOTk0NCwiaWF0IjoxNjkxMjA5OTQ0fQ.DXWo3VnxVVewuW38vCNwzyYXdjYeAlnbS7JKDJL2ajw"
BASE_URL="http://localhost:8080"
- Start the app with the app with the following code
docker-compose up
Once the services are up, you can view the app at http://localhost:3000/