https://github.com/codeuino/design-initiative-dashboard-frontend
https://github.com/codeuino/design-initiative-dashboard-frontend
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeuino/design-initiative-dashboard-frontend
- Owner: codeuino
- License: gpl-3.0
- Created: 2020-02-03T18:05:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T17:49:04.000Z (over 5 years ago)
- Last Synced: 2025-04-05T17:37:17.232Z (11 months ago)
- Language: JavaScript
- Size: 854 KB
- Stars: 5
- Watchers: 2
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Design Initiative Dashboard
### Folder structure
```
1. client folder contains all the front-end related stuff.
2. server folder contains all the backend related stuff.
```
### Server-side
```
1. cd config - (contains all the configuration files)
2. cd controllers - (contains all the logic for APIs)
3. cd models - (contains all the database schemas)
4. cd routes - (Defined all the routes for APIs)
5. cd tests - (contains files for unit-testing APIs)
```
### Set-up locally and run
1. Add .env file in the root directory of server
```
MONGO_URI = ''
PORT = 5000
NODE_ENV = 'development'
```
2. Install dependencies on server-side
```
> cd server
npm install
```
3. To run backend (development mode)
```
> cd server
npm run dev
```
4. Install dependencies on client-side
```
> cd client
npm install
```
5. To run frontend
```
> cd client
npm run start
```
6. Ports:
```
1. Backend running on: 5000
2. Frontend running on: 3000
```