Update README.md

pull/10/head
Raphael 2019-10-28 16:10:36 +01:00 committed by GitHub
parent 1c77a75b72
commit 5392825482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 8 deletions

View File

@ -1,27 +1,42 @@
# Eemiens vs Héticiens
# HÉTIC vs EEMI
Plus Eemien ou Héticien ? Le jeu qui ne fait pas rire les élèves.
## Project setup
Launch REST API:
Clone repository
```
git clone https://github.com/sundowndev/HETICvsEEMI
```
Install core dependencies
```
cd server
npm install
npm start
npm run bootstrap
```
Start client:
Launch REST API
```
cd client
npm install
node server
```
Start client
```
cd client/
npm run serve
```
Then you can browse the client at `http://localhost:8080/` and the API at `http://localhost:3000/`.
### API routes
- **/questions** returns an array of questions
- **/schools** returns an array of schools
### Client development
#### Compiles and hot-reloads for development