The server that run the back-end and the rendering of public pages
Find a file
2022-09-03 11:12:47 +02:00
assets feat(Home): better shuffle management 2020-09-06 12:25:25 +02:00
src feat(Public): allow to fetch orgs by id 2022-09-03 11:12:47 +02:00
views feat: return json format of organization page with .json extension and 2022-09-02 19:21:24 +02:00
.editorconfig feat: add .editorconfig 2022-09-02 19:23:08 +02:00
.env.example feat: proposed cache WIP ? 2020-09-03 00:25:13 +02:00
.gitignore feat: add media controller s3 sandbox, css integration, js menu and filter... 2020-07-04 23:25:25 +02:00
curl-format.txt Merge branch 'master' of github.com:lefuturiste/condorcet-associations-server into master 2020-09-06 11:26:54 +02:00
deploy.sh fix: update deploy 2020-09-03 17:16:03 +00:00
ecosystem.config.js feat: pm2 support and start script for production env 2020-07-26 13:43:13 +00:00
gulpfile.js add countdown and some bug fixes like csv 2020-07-30 12:54:53 +00:00
nodemon.json update 2020-07-15 20:32:42 +00:00
package.json feat: return json format of organization page with .json extension and 2022-09-02 19:21:24 +02:00
presentation.md update 2020-07-15 20:32:42 +00:00
README.md feat: README 2020-08-03 18:31:02 +02:00
README_fr.md feat: README 2020-08-03 18:31:02 +02:00
start.sh feat: pm2 support and start script for production env 2020-07-26 13:43:13 +00:00
test_mail.js fix: change name of the website to "Annuaire des associations" 2021-03-05 22:19:22 +01:00
tsconfig.json feat: add media controller s3 sandbox, css integration, js menu and filter... 2020-07-04 23:25:25 +02:00
yarn.lock feat: return json format of organization page with .json extension and 2022-09-02 19:21:24 +02:00

API/Serveur - associations.espacecondorcet.org

Requirements

  • Node.js >= 12.18.2
  • Yarn >= 1.17 - Installation Page
  • MongoDB >= v4.2.8
  • A SMTP server
  • A S3 Bucket

Installation

Before using the server you have to install all the packages required

Use the yarn install command at the root (take a long time)

Then you have to fill the .env. We advise you to copy and paste the .env.example file as a example for the real .env

Usage in a development environment

yarn serve

Compilation before use in a production environment

yarn build && yarn assets

Usage in a production environment

yarn serve