mirror of
https://github.com/originalmk/skrytka-app.git
synced 2025-01-18 16:29:17 +00:00
Maciej Krzyżanowski
e8cc4e29d7
Dropping tables at the beginning of script
Dropping done before each CREATE TABLE may have resulted in dropping newly created tables
skrytka.app
To start this application you need to:
- Configure database
- Install PostgreSQL DBMS
- Setup some database and user with permissions to it
- Create .env file in the main directory and fill it in with fields DB_USER, DB_PASS, DB_HOST, DB_PORT and DB_NAME. In case of confusion you may check exemplary .env file saved as .env.example in the root directory of this repository.
- Run both SQL scripts, which are located in the main directory. For app to be usable it is also recommended to insert some data to the database.
- Run
npm install
in the main directory. - Run
npm install
in the client directory. - Run
npm build
in the client directory. - Run
npm start
in the main directory - App will run on localhost:5000 Note: pm2 or/and nginx may be used to run this app for production
Description
🚒 App which helps firefighters to learn equipment placement in fire trucks, because every second matters
Languages
JavaScript
71.7%
SCSS
25.8%
HTML
1.9%
CSS
0.6%