The application will be used to manage customers and their services, and will include methods such as:
- customer creation
- creating a service under a given customer
- create a user under a given customer
- creating an admin user
- and others (delete, edit, etc.) — it is unnecessary to implement everything see below
So there will be 2 types of users (2 ROLE):
- Admin (has access to all customers and their services)
- Customer (has access only to their services)
- Node.js
- MySQL
- Express
- Git
- Postman (or other API testing tool)
- Clone the repository with
git clone
- Install the dependencies with
npm install
- Configure the database connection, port and jwt secret in the
.env
file. - Create tables (more info in “Create tables” section)
- Run the application with
npm start
ornpm run dev
- Use Postman or other API testing tool to send requests to the server
More info in routes.md
More info in tables.md
- Add authentication and authorization
- Change database structure