Locker renting and management platform.
This app needs the following software to work properly:
- Node.js v10+
- Yarn 1.13+
- A MySQL database.
- Download or clone this repository:
$ git clone https://github.com/dat-etsit/taquillas
$ cd taquillas
- Install the required dependencies:
$ yarn install
- Create the configuration files for the backend:
src/server/config/server.json
andsrc/server/config/database.json
. You can copy the examples provided in theconfig
folder:
$ cp src/server/config/serverExample.json src/server/config/server.json
$ cp src/server/config/databaseExample.json src/server/config/database.json
$ cp src/server/config/paramsExample.json src/server/config/params.json
Set usingProxy
to true
if you are serving Taquillas behind a
reverse proxy. In affirmative case, it is required to set the
"X-Forwarded-Proto" header accordingly (it should always be HTTPS).
- Run migrations and seeders:
$ sequelize db:migrate
$ sequelize db:seed:all
- Run it!
$ yarn start
Follow the same steps as for installing, making sure to install the development dependencies.
To fire up the develpment version of the server, just run:
$ yarn run dev
© 2019-2020 Delegación de Alumnos de Telecomunicación