⚒️How to initialize project
In this part, it is documented how to initialize the project.
Build Setup
Now that you have downloaded and unzipped the project, you should have seen that there are 2 folders, the Backend folder and the Frontend folder. In this tutorial, we will teach you how to configure the backend.
Create your .env file
In the .env file, this is where you will leave your environment settings, such as your database username/password. Create your .env file using .env.example as an example.
It will come like this:
Configure your credentials. Example of the configured file:
Install dependencies using NPM
Create database structure
Now we will run the command to insert in our database the tables that ElectroAAC needs to work. Don't worry, it will create everything automatically, just run the following command:
Run project DEV
Running in development mode allows you to monitor everything that is happening.
Build for production and launch server
As ElectroAAC uses Typescript, to apply the production mode, we must compile our project. Use the following commands:
Last updated