12- issue: coding-blocks/gondor#134
- PR: coding-blocks/gondor#138
- Bounty : 200
- Claimed
11- issue: coding-blocks/gondor#32
- PR: coding-blocks/gondor#139
- Bounty : 200
- Claimed
## Database + their ORM/Driver + Software to use | |
1. Mongodb / Nedb / | |
monk | |
mongoose | |
robo3t - to see the records visually | |
MongoAtlas for mongodb hosted on internet | |
2. PostgressQL | |
knex | |
# Small Intro of Node: | |
Node - Runtime Enviornment for execting JS code, perfect choice for building RESTful API , for building I/O intensive Application | |
Node Apps are Single-threaded ,non-blocking or asynchronous in nature. | |
Node have 'global' in anologous to 'window' on browser and have things/internal modules to talk to OS, have filesystem to do read and write ops, and more. | |
Avoid: | |
For CPU-intensive apps because more they have to wait for a work to be done more time user have to wait to get related data. | |
NPM to download and install 3rd-party libraries from the npm registry |
# npm CommandLine | |
1. Initialize node repo | |
$ npm init | |
2. To see the recurive-list of dependences for your project in a graph like structure | |
$ npm list | |
npm list --depth=0 | |
- to see only toplevel dependencies | |
### Technology Used: | |
react | |
react-router-dom | |
react-redux - <Provider/>, connect() | |
redux - createStore(), applyMiddleware(), combineReducers() | |
redux-logger - logger | |
react-stripe-checkout - <stripeCheckout /> | |
redux-thunk | |
### to be Done: |
**Install Postgres** | |
$sudo apt-get update | |
$ sudo apt-get upgrade | |
$ sudo apt-get install postgresql postgresql-contrib libpq-dev pgadmin3 | |
$ sudo su - postgres | |
$ psql | |
postgres-# \l | |
**Create Database** |
12- issue: coding-blocks/gondor#134
11- issue: coding-blocks/gondor#32
Note: package-lock.json helps in installing exact versions in package json using npm ci
Note: package.json installs lastest versions in package json using npm i