Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sooraj-s-98/indian-dishes
https://github.com/sooraj-s-98/indian-dishes
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sooraj-s-98/indian-dishes
- Owner: Sooraj-s-98
- Created: 2024-09-21T07:31:10.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-25T03:57:17.000Z (3 months ago)
- Last Synced: 2024-12-22T18:06:15.405Z (12 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Indian Dishes - Full Stack App
This is a full-stack application to explore and manage a variety of Indian dishes. It includes both front-end and back-end components for handling the dish data, utilizing modern web technologies.
## Installation
Follow these steps to set up the development environment:
### 1. Clone the Repository
First, clone the repository to your local machine using the following command:```bash
git clone https://github.com/Sooraj-s-98/indian-dishes.git
```### 2. Navigate to the Project Directory
Move into the project directory where the code is located:```bash
cd indian-dishes
```### 3. Set Up Configuration
Copy the sample configuration file, then rename it and add your MySQL database credentials:```bash
cp scripts/config.json.sample scripts/config.json
```
After copying, open the 'scripts/config.json' file and enter your database credentials.### 4. Install Dependencies
Install all the required dependencies for both front-end and back-end using:```bash
npm install
```### 5. Setup databse data
To insert initial data into the database, run the following command:```bash
node scripts/insertData.js
```
### 6. Set Up Environment Variables
Copy the `.env.example` file, rename it to `.env.local`, and add your environment-specific values:```bash
cp .env.example .env.local
```### 7. Start the Application
To run the application in development mode, use the following command:```bash
npm run dev
```https://github.com/user-attachments/assets/611e4479-f397-4313-a585-298abb251450
https://github.com/user-attachments/assets/38c4d566-51a7-471d-9fd6-1fac1e15d5b1