GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - samwx/simple-nodejs-api: This is a simple NodeJs API with Express and some MySql connection

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 

Repository files navigation

Setup

$ npm install

Running server (Development mode)

Run the "app" with babel tranpilation at require runtime! You can change the JS files then nodemon will watch and automatically update the app.

$ npm run start

$ curl http://localhost:3000
{"msg":"Ta tranquilo, ta favoravel!"}

Running server (Production mode)

This will transpile the "app" into a ES5 on a dist folder

$ npm run build
$ npm run server

$ curl http://localhost:3000
{"msg":"Ta tranquilo, ta favoravel!"}

  • Changing the default PORT

$ PORT=6666 npm run start or $ PORT=6666 npm run server

About

This is a simple NodeJs API with Express and some MySql connection

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.