mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-16 23:40:32 +00:00
update README
This commit is contained in:
22
README.md
22
README.md
@@ -1,17 +1,19 @@
|
|||||||
# Interchange Node.js Server
|
# Interchange Server
|
||||||
|
|
||||||
This is the server codebase for Interchange, an app for college
|
This is the server codebase for Interchange, an app for college transit.
|
||||||
transit.
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
You'll need Node.js 20.x installed to run this project.
|
You'll need Docker + Compose installed to run this project.
|
||||||
Clone this repository and run the following:
|
Clone this repository and run one of the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ npm start:dev
|
# run the standard Node development server and Redis
|
||||||
|
$ docker compose run dev
|
||||||
|
|
||||||
|
# run with unit/server integration tests
|
||||||
|
$ docker compose run test
|
||||||
|
|
||||||
|
# run with test data suitable for app integration tests
|
||||||
|
$ docker compose run app-integration-tests
|
||||||
```
|
```
|
||||||
|
|
||||||
This will run `npm install`, generate GraphQL type definitions,
|
|
||||||
and start the server in developer mode.
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user