Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprint/2/spike/138/Readme-setup-instructions #223

Merged
merged 3 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,34 @@ The [CONTRIBUTING.md](./CONTRIBUTING.md) file contains information on how to con


## How to launch the app
The project team will provide instructions for building and testing the project once it reaches that stage
1. Clone this repository to your local machine
2. Navigate into project direcotry
3. Install the Dependencies by running
```
npm run install-deps
```
This will install the dependencies specified in the `package.json`, `front-end/package.json`, `back-end/package.json` files.

4. Start the Development Servers by running
```
npm run dev
```
This will start the backend server in the `back-end/` directory using nodemon and the frontend development server in the `front-end/`directory using npm start.

5. You can start the backend only by running
```
npm run server
```

6. You can start the frontend only by running
```
npm run client
```

More detail instructions for backend and frontend setup can be found in respective folder's README.md files.

### Testing
Backend testing details can be found in [back-end/test/README.md](back-end/test/README.md) file.

Currently, the project is under development. The team will provide instructions for building the project once it reaches that stage.

18 changes: 18 additions & 0 deletions back-end/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Starting the Backend Server

To start the backend server, follow these steps:

1. Navigate to the Backend Directory
2. Install Dependencies (if not already done) by running
```
npm install
```

3. Start the Server in Development Mode by running
```
npm run dev
```
This command utilizes `nodemon` to run the `server.js` file. It automatically restarts the server whenever you make changes to your backend code, making the development process more efficient.

### Testing
Backend testing details can be found in [back-end/test/README.md](back-end/test/README.md) file.
Loading