This project is part of my MERN Stack portfolio. It is a simple Mern App that uses RTK Query.
- User registration and login.
- Easy-to-use and user-friendly interface.
- User authentication with JsonWebToken
- Clean and intuitive design.
- Responsive layout for mobile and desktop.
- Built with MERN stack (MongoDB, Express, React, Node.js)
- Utilizes Redux Toolkit and RTK Query for state management.
-
Create a MongoDB database and obtain your MongoDB URI from MongoDB Atlas.
-
Set the following environment variables:
NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = 'abc123'
3. Install Dependencies (frontend & backend):
npm install
cd frontend
npm install
# Run frontend (:3000) & backend (:5000)
npm run dev
# Run backend only
npm run server
- BUILD & DEPLOY
# Create frontend prod build
cd frontend
npm run build