anlsergio / devbook_api Goto Github PK
View Code? Open in Web Editor NEWA Social Media for Devs - API (Golang practice)
A Social Media for Devs - API (Golang practice)
Enable this project to be more consistent and reliable by making unit tests.
Research out there (documentation, forums) if the ListenAndServe
function from the http
package is actually ideal for production use cases or if it's only suitable for development purposes.
If the latter is the case, implement a better way of serving the API (Nginx for instance).
Implement a CI pipeline responsible for the following tasks:
As a further step for this application, it would be great if it's containerized and suitable for Kubernetes deployment, so it can be easily tested, built, shipped, and deployed.
The "LikePost" feature allows a single user to add likes to a single post as much as he pleases, so it requires a more complex structure in order to ensure that a post can only be liked once by a single user.
Suggestion:
Users'
foreign keys and Posts'
foreign keys in order to create an N x N relationship between Users and Posts (this makes it possible also to add more fancy features like fetching a list of the users that currently like the post);Disclaimer: it's not flagged as a bug because it was thought to be simple initially but it's a great enhancement suggestion for the future.
Keep track of users who liked a given post so other features can be implemented such as:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.