https://github.com/dineshsy/synsara
MERN App built with love for Synsara'20
https://github.com/dineshsy/synsara
mern
Last synced: 4 months ago
JSON representation
MERN App built with love for Synsara'20
- Host: GitHub
- URL: https://github.com/dineshsy/synsara
- Owner: dineshsy
- License: mit
- Created: 2020-09-04T08:32:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-12T10:13:02.000Z (over 4 years ago)
- Last Synced: 2024-12-31T22:12:13.060Z (6 months ago)
- Topics: mern
- Language: JavaScript
- Homepage: https://synsara2020.tech
- Size: 18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Synsara
Its an a web application.
## Getting Started
- First thing, just clone the repo.
- Make sure you're in master branch
- Create the .env files## .env Files
- In frontend folder create file named `.env`
- with this content
```
PORT=5000
REACT_APP_BACKEND_URL=http://localhost:3000
```
- In backend folder create file named `.env`
- with this content
```
PORT=3000
MONGO_DB_URI=mongodb://127.0.0.1:27017/synsara
```### Project Structure
The root folder contains our:
- frontend
- backend
- git operations## Installation (Frontend + Backend)
First, run npm install command in the root directory so that concurrently will be installed in your repository.
```
npm install
```Install the frontend and backend dependencies
```
cd backend
npm i
cd ../frontend
npm i
```## Running App (Frontend + Backend)
Make sure you are in root folder and just run the following command. It will start front-end and back-end with a single script.
```
npm run start
```## Happy coding