Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

API Node.js course by Rocketseat.

NotificationsYou must be signed in to change notification settings

teilorbarcelos/valoriza

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.

Technology

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

Services Used

Getting started

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".

How to use

  • 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.

Features

  • 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.

Links

Versioning

1.0.0.0

Authors

Learn More

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!

Valorize

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp