Server Side Api Mocking made easy with UI
$ npm install atmo -g
- 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
Execute the following command
--portwill launch the API server in a specific port. Default port is 3334. (
atmo --port 3000)
--staticwill serve the content in the folder
publicin your current working directory (
--logswill print out the access logs to console (
Take a look at the UI of Atmo. http://atmo.surge.sh/ (This demo is just to showcase the UI.)
- 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
For any problem/question or if you think a feature that could make Atmo more useful, do not hesitate to open an issue.
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).
Thanks Kreativa Studio for the free logo.
MIT © Raathigeshan