Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 836 Bytes

README.md

File metadata and controls

50 lines (27 loc) · 836 Bytes

YohannPeltier_7_01102021

Config

The .env.example file gives you an example of the .env file.

The api/config/config.json file is used to configure the database.

Database

MySQL Database :

You can create the database with groupomania_development.sql.

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

Default administrator user

Email: [email protected] Password: password

assets

The asset directory contains images upload by users.

static

This directory contains your static files. Each file inside this directory is mapped to /.

Example: /static/robots.txt is mapped as /robots.txt.