Skip to content

PlatziDev/oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

932bd83 · May 15, 2017

History

32 Commits
May 15, 2017
May 15, 2017
May 15, 2017
Jan 12, 2017
Jan 12, 2017
Jan 12, 2017
Jan 12, 2017
Jan 16, 2017
May 15, 2017
May 15, 2017
May 15, 2017
May 15, 2017
May 15, 2017

Repository files navigation

Platzi Open Source Software

The Platzi Open Source Software published packages.

How use it

Development

Install dependencies with:

npm i

Then run the server with:

npm start

Production

Install dependencies with:

npm i

Then run the server for production with:

npm run start:prod

This will automatically run npm run build to generate the production ready files.

Enviroment variables

  • NODE_ENV: the envirment (default: development)
  • PORT: the private port (default: 3000)
  • HOST: the private host (default: localhost)
  • P_PROT: the public protocol (default: http)
  • P_PORT: the public port (default: 3000)
  • P_HOST: the public host (default: localhost)

The private port and host are used to run the app inside a docker container.

The public port, host and protocol are used to fetch data from the server in the React application.

About

The Platzi Open Source Software published packages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published