ashishkapoor / ecommerce-blog-api Goto Github PK
View Code? Open in Web Editor NEWAn api using express, postgres, and sequelize.
An api using express, postgres, and sequelize.
We've a config.json
which has fields for all of the database credentials. We should push this via Environment or Secret Manager like Vault.
We should also add containerisation support via Dockerfile
and docker-compose.yml
for Docker for respective alternatives for Kubernetes.
We can then build a CI/CD pipeline around this. What is you suggestion on this?
Hi! Great work on the API btw.
I was just curious of what the application is about and maybe the documentation itself wasn't making it obvious to me. While there are certainly a lot of keywords, I think mostly they lack the context in the Readme.md
.
I think Readme should contain a generic section, focusing on following sections:
Pseudo:
Register: Post /api/users,
Login: Post /api/logins,
Hashed password
Using JWT while hashing passwords in the password field.
Getting current user.
Hi!
I just checked out the code, and it seems that while we do have a routes
folder, we use a separate structure inside app
for the api routes. This seems a bit inconsistent.
Furthermore, we should also separate logic, if complex, from routes, hence perhaps you can have general router for the api, pointing to the individual views for the CRUD for each model.
Let me know about your thoughts.
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.