This full-stack application is designed to provide a seamless user experience with a responsive frontend and a secure, efficient backend. The application supports user authentication using JWT, ensuring that user data is protected and sessions are managed securely.
- Full-Stack Development: Complete integration of frontend and backend.
- Secure Authentication: Implements JWT for user authentication.
- Password Encryption: Ensures user passwords are stored securely.
- API-Driven: Robust APIs to handle various functionalities.
- Scalable Architecture: Designed to scale with increasing user demands.
- Like Posts: Users can like posts to show appreciation.
- Post Creation: Users can create new posts.
- Edit Posts: Users can edit their own posts.
- React.js
- HTML5
- SASS
- JavaScript
- Node.js
- Express.js
- MongoDB (or any other database you used)
- JWT (JSON Web Tokens)
- Node.js and npm installed
- MongoDB setup (or any other database)
-
Clone the repository
-
Navigate to the project directory
cd backend
-
Install backend dependencies
cd backend npm install
-
Install frontend dependencies
cd frontend npm install
-
Configure environment variables in
.env
file for backend (e.g., database URI, JWT secret) -
Run the backend server
cd server node index.js
-
Run the frontend development server
cd frontend npm run dev
-
Open your browser and navigate to
http://localhost:3000