Skip to content

loicbtd/agrid

Repository files navigation

Agrid

Development environment

Prerequisites

  • Visual Studio Code Installed

  • Visual Studio Code Nx Console extension installed

  • Visual Studio Code Prettier - Code formatter extension installed

  • node 16.13.1 installed

  • npm 8.1.2 installed

Setup

  1. Clone the repository

  2. Open a terminal in the repository directory

  3. Install dependancies by executing npm install and npm run postinstall

Usage

Start the webservice and the webapp

  1. Create a .env file in the root of the repository with the following content :
WEBSERVICE_ALLOWED_ORIGIN="http://localhost:4200"
WEBSERVICE_JWT_SECRET="secret"
WEBSERVICE_JWT_EXPIRATION_TIME="48h"
WEBSERVICE_HOST="localhost"
WEBSERVICE_PORT="3333"
WEBSERVICE_EMAIL_SENDER_ADDRESS="user@company.com"
WEBSERVICE_EMAIL_SENDER_NAME="user"
WEBSERVICE_EMAIL_SENDER_LOGIN="login"
WEBSERVICE_EMAIL_SENDER_PASSWORD="password",
WEBSERVICE_EMAIL_SENDER_SMTP_HOST="localhost"
WEBSERVICE_APPLICATION_NAME="App"
WEBSERVICE_DATABASE_HOST="localhost"
WEBSERVICE_DATABASE_PORT="3306"
WEBSERVICE_DATABASE_NAME="database"
WEBSERVICE_DATABASE_LOGIN="login"
WEBSERVICE_DATABASE_PASSWORD="password"
WEBSERVICE_STRIPE_SECRET_KEY="secret"
WEBSERVICE_STRIPE_PUBLISHABLE_KEY="publishable"
  1. Open a terminal in the repository directory and run npm start

Update application version number property

  1. Change the version property value in the package.json file of the repository root directory

Troubleshooting

Module did not self-register

This issue comes from the electron build process at postinstall. After that, if you try to run a non-electron project, some sources may not be compiled for a non-electron project and it may crash.

  1. Execute npm rebuild

Technological stack

Changelog

See CHANGELOG.md file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •