This repository contains the backend of the Filter Project, a water filter maintenance application built with Node.js and Express.
The backend manages the application's data and provides an API for the frontend to interact with. It's built using Express, with SQLite3 for the database. CORS is implemented for handling cross-origin requests.
To get the full functionality of the application, you'll need to have the frontend running as well. The frontend can be found at this repository: Filter Project Frontend
- Clone this repository to your local machine.
- In the project directory, install the necessary dependencies with
npm install
. - Start the application with
node app.js
. - The application will be served at
localhost:5000
, and the API can be accessed atlocalhost:5000/api
.