Skip to content

Serversetup is an 'npx tool' that generates essential files, configure npm packages and serves developers with basic setup of node express server within a minutejust like create-react-app.

Notifications You must be signed in to change notification settings

atultiwaree/serversetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

serversetup-npm-package-logo.png

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 atultiwaree@proton.me

About

Serversetup is an 'npx tool' that generates essential files, configure npm packages and serves developers with basic setup of node express server within a minutejust like create-react-app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published