Serversetup is a "npx tool" that generates essential files, configure npm packages and serves developers with basic setup of node express server within a minute just like create-react-app.
Install server setup with "npx"
npx serversetup <directory-name>
After installation just move to your directory and run below cli command
cd <your-directory>
node --watch index
If you're using node version < 18 by default serversetup installs nodemon globally you can go with nodemon itself
cd <your-directory>
nodemon
To test if serversetup configured files are all okay paste url below to browser or just make a curl request
curl http://localhost:3000
To run this project, you will need to add the following environment variables to your .env file
PORT
Mogodb connection url
👋 .env constants are given inside index.js as comments feel free to use
Server: Node, Express
If you have any feedback, please reach out to us at atultiwaree@proton.me