Giter Club home page Giter Club logo

node-postgres's People

Contributors

aldrichvalentino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

node-postgres's Issues

2021 Update

This project is way too old for 2021. The purpose of this project is to make a batteries-included web project template, consisting of frontend and backend with docker. With all the interesting updates from node, react, and express, this project will be updated as follows:

  1. React: use the latest version of react with webpack and typescript. There should be little to no libraries installed other than the core react-related libraries, as this is not a react boilerplate project.
  2. Node: update to the latest lts version with the latest expressjs version as well.
  3. Docker: upgrade all images for starter. Then, we should split the app side into two separate containers. As far as developing with docker goes, we know that hot reloading with libraries such as nodemon and webpack-dev-server does not work in some platform (Windows machine in particular). So, I am planning to use 2 docker-compose.yml files, 1 for development and 1 for production.
  • Dev: only spawn the database and database admin. Frontend and backend application development should be done outside of docker (e.g.: frontend in port 8000 and backend in port 3000 running in 2 terminals). This way, hot reloading will work normally.
  • Prod: build all the images that is necessary for production and use an nginx to load balance the frontend application and hide the backend application from the public network.
  1. ORM: Drop sequalizejs ORM and change to knex. Over the years, I had a somewhat back-and-forth and ongoing pain while developing with ORMs. Some queries are easy, others are hard, complex queries are impossible. Having said that, a lot of developers out there swear by knex in order to have the flexibility but also the abstraction to write complex yet elegant queries.
  2. CI and tests: TBD, but I will particularly test the part of spawning the dev and prod environments.

PR's and maintainers are always welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.