No description
Find a file
dependabot[bot] c0ad18be89
Bump @grpc/grpc-js and google-gax (#43)
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) and [google-gax](https://github.com/googleapis/gax-nodejs). These dependencies needed to be updated together.

Updates `@grpc/grpc-js` from 1.7.3 to 1.8.17
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.7.3...@grpc/grpc-js@1.8.17)

Updates `google-gax` from 3.5.2 to 3.6.0
- [Release notes](https://github.com/googleapis/gax-nodejs/releases)
- [Changelog](https://github.com/googleapis/gax-nodejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gax-nodejs/compare/v3.5.2...v3.6.0)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-type: indirect
- dependency-name: google-gax
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 14:53:54 +02:00
client Bump @grpc/grpc-js from 1.7.3 to 1.8.17 in /client (#42) 2023-07-06 14:53:44 +02:00
constants creates pages and routes; firebase utils 2020-04-23 19:16:53 +02:00
middlewares/auth secures api routes using Firebase; add create users route 2020-04-23 18:17:47 +02:00
models User Model; add User to db 2020-04-24 16:01:35 +02:00
routes/api User Model; add User to db 2020-04-24 16:01:35 +02:00
services/auth secures api routes using Firebase; add create users route 2020-04-23 18:17:47 +02:00
.gitignore sample app ready 2020-04-25 12:56:11 +02:00
.gitpod.yml Fully automate dev setup with Gitpod 2021-03-24 09:22:30 +00:00
package-lock.json Bump @grpc/grpc-js and google-gax (#43) 2023-07-06 14:53:54 +02:00
package.json Bump jsonwebtoken and firebase-admin (#40) 2023-01-08 20:40:43 +01:00
Procfile installed helmet 2020-04-23 14:57:11 +02:00
README.md Fully automate dev setup with Gitpod 2021-03-24 09:22:30 +00:00
server.js add firebase service and main router 2020-04-23 19:16:21 +02:00
TODO.md User Model; add User to db 2020-04-24 16:01:35 +02:00

Gitpod ready-to-code

MERN Stack Demo

Skeleton MERN Stack app with Redux and Firebase.

Prequisites

  • NodeJs
  • npm

Backend configuration

npm init -y

install dependencies

npm i express mongoose concurrently firebase-admin helmet moment

install nodemon for server hot reload and jest for testing

npm i -D nodemon jest

Update package.json

{
  "type": "module",
  "scripts": {
    "start": "node --experimental-modules --experimental-json-modules server.js",
    "server": "nodemon --experimental-json-modules server.js",
    "client": "npm start --prefix client",
    "client-install": "npm install --prefix client",
    "dev": "concurrently \"npm run server\" \"npm run client\"",
    "heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client",
    "test": "jest",
    "test:watch": "npm run test -- --watch"
  }
}

Frontend configuration

npx create-react-app client --template redux

Install dependencies

npm i axios firebase prop-types react-router-dom

Update package.json

{
  "proxy": "http://localhost:5000"
}