This is the repository for the My List API, a simple to-do list application. The API was developed using Node.js and Express, with integration to a MySQL database using the Sequelize ORM. Authentication is performed using JWT tokens.
- Clone the repository:
git clone https://github.com/jessoliveiradev/my-list.git
cd my-list/api
- Install dependencies:
npm install
- Database Configuration:
- Configure the credentials for your MySQL database and JWT secret key in the
config.js
file. - Make sure to create a database in MySQL for your project.
- Run the project:
npm start
By default, the API will be available at http://localhost:3000
.
app.js
: main file of the Node.js applicationconfig.js
: configuration file for database credentialsroutes/
: routes filesmodels/
: database models
The API uses JWT token-based authentication. To access protected routes, the client must include the JWT token in the request header with the format Authorization: Bearer <token>
.
This is the repository for the My List WebApp, a simple to-do list application. The WebApp was developed using React.js and Material-UI.
- Clone the repository:
cd my-list/webapp
- Install dependencies:
npm install
- Run the project:
npm start
- React.js
- Material-UI