ParelPracht is the successor of Goudglans, the custom Customer Relation Management system of Study Association GEWIS. This new system is built during the second lockdown of the corona pandemic. Its main goal is to automate tedious tasks and to keep a clear and concise overview of the current collaborations. This is achieved by creating nice structured insights tables and graphs and automating the generation of contracts, proposals and invoices.
This is the back-end of ParelPracht. The front-end can be found here.
- Clone the repository.
- Run
npm install
. - Copy
.env.example
to.env
and fill / replace the keys with their corresponding values. Note that the email-keys are important to be able to install the application (see step 5). - Run
npm run dev
. This runs the client in development mode. Node will bind to port3001
. You can find the API documentation at http://localhost:3001/api/swagger-ui/. - Make a POST-request to
/v1/setup
with your credentials. The required payload can be found in the Swagger documentation. This request will create a local administrator account with the given credentials. You will receive an email (on the given address via the given mail server at step 3) to set your password. - In the
VAT
table, add the desired VAT categories and percentages.
You can also build the application with npm run build
. This puts a production build in the ./build
directory.
- Clone the repository in a folder called
parelpracht-client
and clone the backend repository in a folder calledparelpracht-server
. Make sure that both folders are in the same parent folder. - Change the image locations to the correct locations in
docker-compose.yml
(for both the frontend and backend). - Fill in the correct (environment) variables in
docker-compose.yml
. - Run
docker-compose
in./parelpracht-client
.
Copyright © 2022 The 39th board of GEWIS - Some rights reserved. Created by Roy Kakkenberg, Koen de Nooij, Jealy van den Aker, Max Opperman, Wouter van der Heijden en Irne Verwijst. You can use our software freely within the limits of our license. However, we worked very hard on this project and invested a lot of time in it, so we ask you to leave our copyright mark in place when modifying our software. Of course, you are free to add your own.