Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apricote/tweeter
Simple project for introduction into Nodejs
https://github.com/apricote/tweeter
Last synced: 20 days ago
JSON representation
Simple project for introduction into Nodejs
- Host: GitHub
- URL: https://github.com/apricote/tweeter
- Owner: apricote
- Created: 2019-01-10T13:00:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T13:02:14.000Z (almost 6 years ago)
- Last Synced: 2024-12-09T15:54:20.733Z (25 days ago)
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tweeter Nodejs Project
## Steps
### Fork the repository
To work on this project, fork it to your own account!
### Inspect the API Specification
You can find the specification in the file `api.json`, though I would recommend
to use a UI for inspecting it: [OpenApiRenderer][1][1]: https://temando.github.io/open-api-renderer/demo/?url=https://raw.githubusercontent.com/apricote/tweeter/master/api.json
### Sketch the Database schema
Based on the API Specification, define a database schema to save the data
permanently.### Setup a Nodejs Project
Use the `npm init` Command to initialize a nodejs project in this folder.
### Develop the API
The most standard way to develop an API in node these days is the `express`
framework. Google for a guide and start hacking on the API.I would recommend to start with the simple Level 1 routes and then proceed to
the higher levels.For storing the data you have multiple options:
1. Relational Database (mysql/mariadb)
1. Nosql Database (mongo)You may use whatever you feel most comfortable with.
### Optional: Build a UI
You have finished the main challenge but still want to do something? Build a
User Interface to interact with the tweeter service. This could be a native App
for mobile phones, or a Single Page Web App or anything else.