GithubHelp home page GithubHelp logo

pern-stack's Introduction

NOTES

learning PERN (PostgreSQL, express.js, reactJS and node.js) This is a to-do list to improve my knowledge in full stack web develpment

ref: https://www.youtube.com/watch?v=ldYcgPKEZC8

//Before initializing the server, download postgreSQL and follow the steps in database.sql and configure the database in db.js //initialize the server in the package "server" with $node start

DEPENDENCIES

//PostgreSQL //Express.js //ReactJS //Node.js

HOW TO START THE PROJECT

//First go to your psql and create a database with a "database_name"(any name you want), and create a table "todo"(this has to be this name because of the code), after this you have to go to db.js and configure your database. Now just go to the folder /server and run the code $node index.js. To start client side go to the folder /client and run the code $npm start

NOTES TO MYSELF

//codes used inside server package

$npm init
$npm i express pg cors

//Codes used in client side

$npx create-react-app "name"

deleted tests

created components folder and files

//Setting up environment to client with bootstrap //copying the css in the /public/index.html in the stylesheet and copying the js in the script. Link to bootstrap: https://getbootstrap.com/docs/4.0/getting-started/introduction/

//Link used to get modals, bootstrap codes #https://www.w3schools.com

//if you dont have the dependencies run $npm install //start client side inside the client package with $npm start //build with $npm run build

pern-stack's People

Contributors

ichbinnichts avatar

Watchers

 avatar

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.