Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhisek246/yolipay-assignment
https://github.com/abhisek246/yolipay-assignment
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhisek246/yolipay-assignment
- Owner: Abhisek246
- Created: 2024-10-30T15:06:35.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-10-30T15:40:05.000Z (20 days ago)
- Last Synced: 2024-10-30T16:27:29.531Z (20 days ago)
- Language: JavaScript
- Homepage: https://yolipay.netlify.app/
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project Overview
The Yolipay Assignment project is a full-stack portfolio platform where users can display and filter projects. It includes separate frontend and backend setups that communicate with MongoDB for data storage.## Technologies Used
- **Frontend**: React, Axios, CSS
- **Backend**: Node.js, Express, MongoDB, Mongoose
- **Database**: MongoDB### Installation
1. **Clone the repository:**
```bash
git clone https://github.com/Abhisek246/Yolipay-Assignment.git
cd Yolipay-Assignment
```2. **Install frontend dependencies:**
```bash
cd frontend
npm install
```3. **Install backend dependencies:**
```bash
cd ../backend
npm install
```### Environment Variables
1. Create a `.env` file in the `backend` directory.
2. Add your MongoDB URI to the `.env` file:
```plaintext
MONGO_URI=your_mongodb_uri
```### Running the Application
1. **Start the backend server**:
In the `backend` directory, run:
```bash
node index.js
```2. **Start the frontend server**:
In the `frontend` directory, run:
```bash
npm run dev
```### Available Scripts
#### Frontend
- `npm run dev`: Runs the frontend in development mode.
- `npm run build`: Builds the frontend for production.#### Backend
- `node index.js`: Starts the backend server.