Book-Nook: Backend RESTful API
- User authentication and authorization
- Product browsing, rating, reviewing
- Admin panel for managing products and users
- Clone the repository
- Install dependencies using
npm install - Create a .env file, dotenv.env, and add your environment variables:
- Define these in the .env file:
- PORT, NODE_ENV, DATABASE, DATABASE_PASSWORD, DATABASE_LOCAL, JWT_SECRET, JWT_EXPIRES_IN, JWT_COOKIE_EXPIRES_IN, EMAIL_USERNAME, EMAIL_PASSWORD, EMAIL_HOST, EMAIL_PORT
- Define these in the .env file:
- Run the server and client using
npm run dev
- Sign up or log in to access the website
- User can browse products, review and rate products
- Admins can manage products and users in the admin panel
- JavaScript, MongoDB, Node.js, Express.js
- Git, JWT, bcrypt
- Fork the repository
- Create a new branch for your feature
- Commit your changes
- Push to the branch
- Create a new Pull Request
- LinkedIn: https://www.linkedin.com/in/shakhlyn/