Automate app containerization.
-
A working
Nodeenvironment. -
An installation of the
yarnpackage manager. -
Install the above if you have to.
-
Install dependencies:
yarn installor simplyyarn. -
Create a
.envfile and add these values:PORT=5000. -
Start server:
node index.jsornodemonif you have nodemon installed. -
To stop the server:
ctl + c.
-
Request `POST /` `Content-Type: multipart/form-data` `payload: { files: file (any html file), name: string, tag: string (version), framework: string (use html for now), token: string (log into crane cloud and get token), project: string (any active project in your account) }` Response201Content-Type: application/jsonbody: { status: string, data: object }The API will be standardized with time. Doesn't need a DB.