1.0.0 • Published 7 months ago

zaipaas v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

$PROJECT_NAME$ $CODE$

PlatformNode / MongoDB / Express / ReactJS
Dev toolsNodeMon
Live Demo:Dev APP

Overview

Prerequisites

Use nvm for node version management: instructions for Windows, instructions for MacOS.

Quickstart

  1. Clone project repository.
  2. Run command npm run setup-project - this command install dependencies with npm
npm run setup-project
  1. Start local development by running command:
npm run dev

Deploy process

  1. Run
npm run setup-production-app
  1. Push code to master branch
  2. Check APP after autodeploy on vercel

Project build tool

Project based on Job Tracking App

Basic commands

# Install dependencies with npm
npm run setup-project

# Install all dependencies with npm and create public dist
npm run setup-production-app

# Run server
npm run server

# Run React app
npm run client

# Run server and react app
npm run dev

# Node init
npm run build

Bitbucket Pipeline flow

  1. code pushed to Bitbucket
  2. Bitbucket runs the pipeline to get code from Bitbucket and pushes the updated code to the GitHub repo
  3. If the GitHub repo receives new changes for the master branch, the Render makes an automatic deployment

Basic options

# ENV file example: 
PORT=5100

NODE_ENV=development

MONGO_URL=mongodb+srv://user:user@zaipaas.vohceoc.mongodb.net/zaipaas?retryWrites=true&w=majority

JWT_SECRET=secret

JWT_EXPIRES_IN=1d

HOST=https://middleware-ipaas.vercel.app/

Documentation