Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedro-donoso/curso-express
Curso de fundamentos de Express. Proyecto práctico con ejemplos de busqueda de cursos. Curso de freecodecamp que incluye conceptos básicos de desarrollo web back-end, npm, módulos de Node.js, JSON, HTTP
https://github.com/pedro-donoso/curso-express
backend express json localhost nodejs nodemon
Last synced: about 1 month ago
JSON representation
Curso de fundamentos de Express. Proyecto práctico con ejemplos de busqueda de cursos. Curso de freecodecamp que incluye conceptos básicos de desarrollo web back-end, npm, módulos de Node.js, JSON, HTTP
- Host: GitHub
- URL: https://github.com/pedro-donoso/curso-express
- Owner: pedro-donoso
- Created: 2023-01-06T20:24:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T18:49:13.000Z (9 months ago)
- Last Synced: 2024-05-08T08:51:10.589Z (8 months ago)
- Topics: backend, express, json, localhost, nodejs, nodemon
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![nodeexpress](https://user-images.githubusercontent.com/68760595/211105265-3ad86dc3-0976-4b72-a9ab-fec464e56ae4.jpg)
### Steps
1. Download zip file, extract and open folder with code editor
#### In Terminal
2. Create package.json:
`npm init`
3. Install express and nodemon:
`npm i express`
`npm i -g nodemon` (global)
4. Run the server:
`nodemon index.js`
![index](https://user-images.githubusercontent.com/68760595/211103028-d1784c57-c84f-4a88-98c4-9212ab23e8c4.JPG)
#### In browser
5. View home:
`http://localhost:3000/`
![localhost](https://user-images.githubusercontent.com/68760595/211102210-30d20cb1-2838-4dc5-a451-e0a0325529d4.JPG)
6. View all courses:
`http://localhost:3000/api/cursos`
![cursos](https://user-images.githubusercontent.com/68760595/211103423-1e995e88-087a-4ae8-a9cf-42f6e8817ff8.JPG)
7. Routes:
`http://localhost:3000/api/cursos/programacion`
![programacion](https://user-images.githubusercontent.com/68760595/211103863-689d6dab-39ce-4795-bdd6-8b95417386a4.JPG)
8. Routes for courses:
`http://localhost:3000/api/cursos/programacion/python`
![python](https://user-images.githubusercontent.com/68760595/211104191-82f908ef-ea98-4e06-81cb-b488039557d4.JPG)
9. Routes for courses and level:
![intermedio](https://user-images.githubusercontent.com/68760595/211104483-910f1b59-fd3a-4c53-bf7f-4cb62fad1669.JPG)