-
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
-
Clone the repository
-
Open a terminal in the repository directory
-
Install dependancies by executing
npm install
andnpm run postinstall
- 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"
- Open a terminal in the repository directory and run
npm start
- Change the version property value in the package.json file of the repository root directory
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.
- Execute
npm rebuild
- Language : TypeScript
- Language framework : Node.js
- Workspace : Nx workspace
- Frontend framework : Angular
- Angular components : PrimeNG
- Angular state management : NGXS
- CSS framework : PrimeFlex
- Icons pack : Font Awesome
- ORM : TypeORM
See CHANGELOG.md file