https://github.com/therealbyteraver/full-stack-app-with-rest-api
Treehouse Project 10: Front end in React for the Rest API project (included here)
https://github.com/therealbyteraver/full-stack-app-with-rest-api
api-rest express mysql nodejs orm react sequelize sqlite
Last synced: 3 months ago
JSON representation
Treehouse Project 10: Front end in React for the Rest API project (included here)
- Host: GitHub
- URL: https://github.com/therealbyteraver/full-stack-app-with-rest-api
- Owner: TheRealByteraver
- Created: 2021-07-20T18:56:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T12:16:50.000Z (over 4 years ago)
- Last Synced: 2025-01-04T01:31:50.255Z (over 1 year ago)
- Topics: api-rest, express, mysql, nodejs, orm, react, sequelize, sqlite
- Language: JavaScript
- Homepage:
- Size: 1.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FULL Stack project: React frontend + express backend
### Intro
This is the final project in the Team Treehouse Tech Degree with as curriculum "Full Stack JavaScript". It consists of two parts:
* An API backend written in JavaScript using the express framework. It supports the following actions:
* Create user (email address + password)
* Create course (user must be authenticated)
* Get list of available courses
* Update an existing course (user must be authenticated, and only the original author of the course can edit his course)
* Delete a course (user must be authenticated, and only the original author of the course can delete his course)
### Technology
* Frontend: React + React Router + React MarkDown
* Backend: Express + sequelize as ORM
### Setup and usage
* backend (server): go to the /api folder, and run 'npm install' followed by 'npm start' to make the server listen for requests on port 5000
* frontend (client): go to the /client folder, and run 'npm install' followed by 'npm start' to start the React app, and surf to http://localhost:3000 to open the application
If you want to reset the database to its initial state, go to the /api folder and run the command 'npm run seed'.