An open API service indexing awesome lists of open source software.

https://github.com/pedroemmanuelbuerger/trybesmith

TrybeSmith is a project completed in the Trybe course, simulating a database (MySQL) application where we play the role of the "blacksmith". We have products, users, and orders, and we must forge a back-end application to serve the users.
https://github.com/pedroemmanuelbuerger/trybesmith

beekeeper chai javascript mocha msc mysql nodejs postman sequelize sinon

Last synced: 3 months ago
JSON representation

TrybeSmith is a project completed in the Trybe course, simulating a database (MySQL) application where we play the role of the "blacksmith". We have products, users, and orders, and we must forge a back-end application to serve the users.

Awesome Lists containing this project

README

        

# TrybeSmith

TrybeSmith is a project completed in the Trybe course, simulating a database (MySQL) application where we play the role of the "blacksmith". We have products, users, and orders, and we must forge a back-end application to serve the users.

## Features

The project includes the following features:

- **User Registration and Login:** Uses token validation.
- **Order Registration, Deletion, and Editing.**
- **Viewing and Registering New Products.**

## Technologies Used

The project was developed using the following technologies:

- **JavaScript**
- **TypeScript**
- **MSC Model (Model, Service, Controller)**
- **Node.js**
- **MySQL**
- **Postman**
- **Beekeeper**

## Installation

To install and run the project locally, follow these steps:

- Clone the repository to your local machine:
`git clone https://github.com/PedroEmmanuelBuerger/project-TrybeSmith.git`
- Install Node.js on your machine.
- In the project folder, install the dependencies by running the command:
`npm install`
- To run the tests, use:
`npm run test:local`
- To test the application, go to the following path in your browser:
`http://localhost:3001/`

## Key Learnings

The main learning from this project was the use of TypeScript to type data, including variables, functions, parameters, returns, arrays, etc. It was also interesting to continue consolidating the use of the MSC model.

## Conclusion

The TrybeSmith project offers a practical and efficient Back-End application with a database for product registration, user creation and validation, and order creation and organization.