secajs/README.md

20 lines
626 B
Markdown
Raw Normal View History

2025-02-05 12:20:53 +01:00
# Express hello world
A joke application.
## How to set up
Note: I'm assuming you're running Ubuntu 22.04.
* Get nodejs and npm ready
- Run `sudo apt update` and `sudo apt install nodejs`. Check that worked with `node -v`.
- Run `sudo apt install npm`. Check that worked with `npm -v`.
2025-02-05 13:21:00 +01:00
* Init an npm project: `npm init -y`
* Modify `package.json`: you might want to add dependencies.
* Potentially add a `start script`.
## How to run
* You can get the dev containers up and running with `npm run start:containers`.
* If you would rather only run the express app locally, you can just do `npm run start` instead.