sudo docker compose up -d
This will create docker for redis, postgres and adminer
cd backend/
npm i
npm run dev
Backend will be running on localhost:4000
cd frontend/
npm i
npm run dev
frontend will be running on localhost:3000
localhost:3000/
localhost:3000/dashboard
Welcome to our API documentation. Below you'll find details about various endpoints available in our API along with example POST requests and their corresponding request bodies.
Creates a new user in the system.
http://localhost:4000/api/auth/signup
{
"userName": "ab1",
"email": "ab1@gmail.com",
"password": "12345678"
}
http://localhost:4000/api/auth/signin
{
"email": "ab@gmail.com",
"password": "12345678"
}http://localhost:4000/api/user/user
http://localhost:4000/api/user/all
This will increase view count and will send updated count of this profile.