Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kritika-Singhal committed Jul 8, 2020
2 parents 0dcf57b + ad31d63 commit af0797d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 10 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

.vscode/

# Mac OS junk
.DS_Store
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Design-Initiative-Dashboard
# Design Initiative Dashboard


### Folder structure

```sh
```
1. client folder contains all the front-end related stuff.
Expand All @@ -13,21 +13,21 @@

### Server-side

```sh
```
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 tets - (contains files for unit-testing 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

```sh
```
MONGO_URI = '<YOUR_MONGODB_URL>'
PORT = 5000
Expand All @@ -36,22 +36,22 @@
```
2. Install dependencies on server-side

```sh
```
> cd server
npm install
```
3. To run backend (development mode)

```sh
```
> cd server
npm run dev
```
4. Install dependencies on client-side

```sh
```
> cd client
npm install
Expand All @@ -60,7 +60,7 @@

5. To run frontend

```sh
```
> cd client
npm run start
Expand All @@ -69,7 +69,7 @@

6. Ports:

```sh
```
1. Backend running on: 5000
2. Frontend running on: 3000
Expand Down

0 comments on commit af0797d

Please sign in to comment.