- Notifications
You must be signed in to change notification settings - Fork0
API Node.js course by Rocketseat.
teilorbarcelos/valoriza
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This API was developed in a programming course of NodeJs of theRocketseat online school, in the Next Level Week event for programmers of all levels.
This API was created with[NodeJs] and, basically, creates a back-end system to answer to a front-end app in other or same server.
The data is all stored in a mySQL database, you can use other server, originally, in the course, was used the little sqlite, but, for learning more, I decided to use a free online server with mysql, I choose theRemote MySQL, fill free to use what you want.
Here are the technologies used in this project.
- typeorm version ^0.2.36
- reflect-metadata version ^0.1.13
- mysql version ^2.18.1
- jsonwebtoken version ^8.5.1
- express-async-errors version ^3.1.1
- express version ^4.17.1
- cors version ^2.8.5
- class-transformer version ^0.4.0
- bcryptjs version ^2.4.3
- uuid version ^8.3.2
- Github
- Heroku
- Remote MySQL
You can see this API runinghere
But, if you want to run this API by yourself, simply create a mySQL database in any online server likeRemote MySQL.
In next, you need to write the app credentials in a file ".env" in the root directory like it:
# .envTYPE=mysqlHOST=remotemysql.comDB_PORT=3306USER_NAME=eKJ242AF5HDATABASE=eKJ242AF5HPASSWORD=iVsoDUtm8bENVIRONMENT=developmentHASH_MD5=d48946382f0b249f659bbf519747fb65
In next, you need to run the migrations with the command "yarn typeorm migration:run" to create the tables in your MySQL, and for last, run "yarn dev" to run the local test server and to test the app locally in "http:localhost:3000".
- To use this API you will need of a front-end app that was coded to comunnicate with it, you can see one of ithere and runing and ready to usehere.
- With this API, you can create a place where you and your colleagues of job, can share compliments and thanks, generating a nice feeling of thanks and motivation in the workplace, enjoy, it is free for all.
- Link of deployed application:https://valorize.herokuapp.com/
- Repository:https://github.com/teilorbarcelos/valoriza
- In case of sensitive bugs like security vulnerabilities, please contactOUR EMAIL directly instead of using issue tracker. We value your effortto improve the security and privacy of this project!
1.0.0.0
- TEILOR SOUZA BARCELOS: @teilorbarcelos (https://github.com/teilorbarcelos)
You can learn more in the[NodeJs documentation].
To learn Express, check out the[ExpreJs oficial Site].
I hope it help you like it helped me too! Thanks for see it and give a repo star if you like it!