SVITLO-E is an open-source project that aims to create a platform for tracking power outages in your area.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (>=16)
- npm
- Clone the repository
git clone https://github.com/Coder-ak/svitlo-e.git
- Create
.env
file with the following content
TOKEN_SECRET=<generate secret to sign JWT tokens>
DB_PATH=<path to nedb database>
PORT=<nodejs server port>
- Start the development server
npm run dev
The nodejs server should now be running on http://localhost:3000
The client should now be running on `http://localhost:8080'
- Build
npm run build
Compiled files should be at /dist
folder.
We welcome contributions to the project. Please submit a pull request with a clear description of your changes.
This project is licensed under the ISC License - see the LICENSE file for details.