Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amylloyd/socials
https://github.com/amylloyd/socials
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amylloyd/socials
- Owner: AmyLloyd
- Created: 2024-01-18T22:01:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-21T12:47:31.000Z (10 months ago)
- Last Synced: 2024-01-22T02:12:12.965Z (10 months ago)
- Language: JavaScript
- Size: 887 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# socials
Got something to say?
Say it on socials and find out what your friends think too.## Description
My motivation for building this app was to provide a social space where people are able to connect with others, share their thoughts and respond to the thoughts of others.
The problem this weather dashboard solves is that it is difficult to get in touch with others in our busy lives and being able to post short snippets helps us to keep in touch with those we love.
I have learnt how to apply routes now using mongoDB and mongoose. My favourite realisation was sending multiple ids in the endpoint and accessing it successfully using req.params. I thought it was logical for multiple ids to work as long as they were defined differently and it did!
A future direction for this socials app is to add functionality of sharing images. I would also like to see reactions limited to users that are registered, as currently reactions are associated with usernames. These usernames can be whatever the user identifies without needing to be registered. I think being identifiable and registered means that people are more respectful and responsible for their comments. Maybe not though.
## Table of Contents
- [Usage](#usage)
- [Credits](#credits)## Usage
Here's is an image of the range of accessible insomnia routes.
![socials-insomnia-screenshot](assets/Socials%20insomnia%20screenshot.png)
To see the 'socials' routes in use please view the following walkthrough video:
https://app.screencastify.com/v3/watch/b9FM9HXReacKCGAxMhuNTo view the code, please visit https://github.com/AmyLloyd/socials
## Credits
Bootcamp code was used as a model.
I received support to debug routes from a tutor.
The email-validation code and regex were provided by https://stackoverflow.com/users/1189620/ramon22.