This is a simple web application that allows users to search for secondhand books, add them to their cart, and checkout.
- Frontend
- Next.js - React framework
- Clerk - For auth
- UploadThing - For uploading files
- Tailwind CSS - For styling
- Backend
- Node.js
- Express
- MongoDB
- TypeScript
- Clerk - For auth
- Make sure that you have nodejs is installed on your machine by running
node -v
. - Also you should have npm ( Node Package Manager) installed by running
npm -v
. - Make sure to set a MongoDB database.
- Make sure to set up a Clerk account and create a Clerk application.
Since this project will hold both the client application and the server application there will be node modules in two different places.
- Run
npm install
in both ๐ backend and ๐ frontend folders. - Add your
.env
file following the .env.example in the ๐ backend folder as well as the frontend one.
- backend
- Run
npm run dev
to start the server.
- Run
- frontend
- Run
npm run dev
to start the client application.
- Run