💻 Repositório do tutorial de como criar um servidor usando nodejs
🚀 Made to connect people who wants to learn more - Back End
🚀 Project made to connect students to teacher
Table of contents
What is it
That's project was idealized by Rocketseat to a marathon called
Next Level Week #2 where they teach, another devs and people that are getting into programming, how to use a stack of development (React JS, React Native and NodeJS).
The idea behind Proffy is to connect people that want to study to people that want to give classes, storing connections.
- Front End (Another repo)
- Give many classes as you want
- Each class has it's schedule
- User profile
- Avatar upload
- CRUD classes
How to run
If you want you can just live test on: proffy.baraus.dev
- Clone the repository
- Get in the folder
- Install dependencies
- Run migrations
- Run seed
yarn knex:seed(if your want initial data and don't use if you already have stored data)
- Set ambient variables Ambient Variables
- Execute script
What are ambient variables
Ambient variables are variables that are stored in your machine and can be read by applications, it is useful to store secret data, like and API token, and don't want to share your data with other.
For security I used ambient variables so I could share this repository with you!
The ambient variables I used were:
CLOUDINARY - store images online
DATABASE - store user infos
MAILER - send email
SECRET - used to generate token