Simple CRM System
The application is created in JavaScript/Node with Express framework. PostgreSQL database is used via postgres package.
You need following on your computer.
- Node v20.x
- Postgres 14+
- Visual Studio Code (with Prettier Extension, Code Spell Checker, Thunder Client, Database Client)
- Clone the repo.
$ git clone https://github.com/chauhankiran/butler.git
- Go inside the
butler
folder.
$ cd butler
- Install the dependencies.
$ npm i
- Run the database queries written in
scripts.sql
in PostgreSQL. - Rename
.env.example
to.env
and update the environment variables defined in it. - Run the application
# run in development mode using nodemon
$ npm run dev
# run in production mode.
$ npm start
- The application is up and running at http://localhost:3000.