Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mairagalvao/hobby_user_manager_
A hobby manager built with Node.js and Javascript
https://github.com/mairagalvao/hobby_user_manager_
express javascript nodejs
Last synced: about 2 months ago
JSON representation
A hobby manager built with Node.js and Javascript
- Host: GitHub
- URL: https://github.com/mairagalvao/hobby_user_manager_
- Owner: MairaGalvao
- Created: 2022-07-28T19:26:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T20:25:50.000Z (over 2 years ago)
- Last Synced: 2023-03-10T12:24:08.369Z (almost 2 years ago)
- Topics: express, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 3.73 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
note:
1. Every component that needs users does so on its own. On page load, this creates multiple https GET requests. State management could prevent this from happening. The state allows components to share user data easily.In addition, updates to users (such as adding a hobby or creating a new user) do not appear immediately in the user interface.A refresh triggers the http GET from the backend, which updates the new users.An HTTP GET could be forced on every update to improve this.
The third point. The AWS database has been set up. The DB was created, but I encountered errors while linking it to NodeJS.By hard-coding the DB in node js, I was able to have the task working.If I had more time, I would connect the database to the node js server and implement the necessary logic to update the database.
functionalities:
1. add user.input: name (string)
2. add hobby.inputs:user id (int)hobby (string)
assumptions:- A new hobby will override an existing hobby if the given user has one.
3. delete user.input: user id (int)