serversetup
v1.0.9
Published
Serversetup is an 'npx tool' that generates essential files, configure npm packages and serves developers with basic setup of node express server within a seconds similar to create-react-app.
Downloads
5
Maintainers
Readme
serversetup
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.
Installation
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
Environment Variables
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
Authors
Github repo of this project
Tech Stack
Server: Node, Express
Feedback
If you have any feedback, please reach out to us at [email protected]