atmo
v0.14.2
Published
Server side powertool for prototyping
Downloads
222
Maintainers
Readme
Installation
$ npm install atmo -g
Features
- Http endpoints
- Socket server
- GraphQL endpoints (Experimental)
- Http proxy
- In-built support for Json-Server. More on creating Json-Server endpoint.
- Static content folder
- Export project as Json file
- Import project
- Code generation through generators.
atmo-gen-expressjs-es5
- ExpressJS/ES5 Generator
- https://zeit.co/now deployable projects
- Sleek UI
Usage
Execute the following command
$ atmo
Options
--port
will launch the API server in a specific port. Default port is 3334. (atmo --port 3000
)--static
will serve the content in the folderpublic
in your current working directory (atmo --static
)--logs
will print out the access logs to console (atmo --logs
)
UI Demo
Take a look at the UI of Atmo. http://atmo.surge.sh/ (This demo is just to showcase the UI.)
Guide
- Creating a socket endpoint and connecting to it
- Creating a proxy endpoint
- Creating a json-server endpoint
- Creating a graphql endpoint
- Http Endpoint - Conditional Response
- Generating code
- Deploying a generated project via Zeit's now
Contribute
For any problem/question or if you think a feature that could make Atmo more useful, do not hesitate to open an issue.
Building Atmo
Launch the webpack dev server.
npm run dev
Launch the api server.
npm run server
Write a generator
Atmo uses generators to automatically generate code for the endpoints that are created via the UI. You could write a generator which generates code in your favourite node js framework (e.g: HapiJS).
Learn more here on how to write a generator.
Thanks
Thanks Kreativa Studio for the free logo.
License
MIT © Raathigeshan