Welcome to the Expenser backend repository. This project is the backend for a fully responsive expense tracker website, built with Express and Node.js, that handles user authentication, transaction management, and data communication using GraphQL.
- User Authentication: Secure authentication using Passport.js and MongoDB session store.
- Transaction Management: Handles creating, reading, updating, and deleting transactions.
- GraphQL API: Efficient data management and communication with the frontend using Apollo Server.
- ๐ Express
- ๐ Node.js
- ๐ MongoDB
- ๐ Passport.js
- ๐ Apollo Server
Before you begin, ensure you have the following installed:
-
Clone the repository
git clone https://github.com/RayLikesAnime/expenser_backend.git cd expenser_backend
-
Install dependencies
npm install
-
Set up environment variables Create a .env file in the root directory and add the following variables:
MONGODB_URI=your_mongodb_uri SESSION_SECRET=your_session_secret
-
Run the development server
npm start
Check out the live demo of the project https://expenser-prad.onrender.com/.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or new features.
This project is licensed under the MIT License.