1.0.0 • Published 8 months ago
zaipaas v1.0.0
$PROJECT_NAME$ $CODE$
Platform | Node / MongoDB / Express / ReactJS |
Dev tools | NodeMon |
Live Demo: | Dev APP |
Overview
Prerequisites
- Node.js version 18^
Use nvm for node version management: instructions for Windows, instructions for MacOS.
Quickstart
- Clone project repository.
- Run command npm run setup-project - this command install dependencies with npm
npm run setup-project
- Start local development by running command:
npm run dev
Deploy process
- Run
npm run setup-production-app
- Push code to master branch
- 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
- code pushed to Bitbucket
- Bitbucket runs the pipeline to get code from Bitbucket and pushes the updated code to the GitHub repo
- 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
- See documentation
1.0.0
8 months ago