screen-capture.1.webm
- About
- Features
- Tech Stack
- Installation
- Environment Variables
- Running the Application
- Docker Setup
- License
This is a Full Stack Web Application that combines React.js for the frontend, Node.js/Express.js for the backend, and MongoDB as the database to manage user data and financial records. It uses JWT (JSON Web Tokens) for secure user authentication and is containerized with Docker for easy deployment and scalability.
- 🌐 Frontend: Built with React.js and styled using Tailwind CSS for a modern, responsive user interface.
- 🔒 Backend: Powered by Node.js and Express.js to create a RESTful API.
- 🗄️ Database: Uses MongoDB to store user data and financial records.
- 🔐 Authentication: Secure user authentication using JWT.
- 🐳 Containerization: Easily deployable with Docker for efficient, consistent environments.
| Technology | Description |
|---|---|
| Frontend | React.js |
| Backend | Node.js + Express.js |
| Database | MongoDB |
| Authentication | JWT |
| Styling | Tailwind CSS |
| Containerization | Docker |
- Node.js (version 16 or above)
- MongoDB installed or a cloud MongoDB service like MongoDB Atlas
- Docker (if you want to run the project in containers)
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name -
Install dependencies for both frontend and backend:
cd frontend npm install cd ../backend npm install
-
Build the frontend:
cd frontend npm run build -
Set up MongoDB and update the environment variables.
Create a .env file in the root of the backend directory and add the following environment variables:
MONGO_URI=<your-mongodb-uri>
JWT_SECRET=<your-jwt-secret>
PORT=5000MONGO_URI: MongoDB connection string.JWT_SECRET: Secret key for JWT authentication.PORT: Port for running the backend (optional, default is 5000).
-
Start the backend server:
cd backend npm start -
Open your browser and navigate to
http://localhost:5000.
-
Build the Docker image:
docker build -t your-image-name . -
Run the Docker container:
docker run -it --rm -e MONGO_URI=your_mongo_uri -e JWT_SECRET=your_jwt_secret -p 5000:5000 your-image-name
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to open issues or submit pull requests. Contributions are welcome!
- GitHub: YourUsername
- Email: youremail@example.com
Happy coding! ✨