diff --git a/README.md b/README.md new file mode 100644 index 0000000000..c0acdfe66d --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# starter-micro-api + +This is the simplest possible nodejs api using the base http library that responds to any request with: +``` +Yo! +``` + +## Deploy in under 10 seconds + +[![Deploy to Cyclic](https://deploy.cyclic.app/button.svg)](https://deploy.cyclic.app/) +- Sets up instant continuous deployment on `git push` +- Realtime backend logs and API request monitoring diff --git a/index.js b/index.js index 35472e0c95..389a4f232b 100644 --- a/index.js +++ b/index.js @@ -15,4 +15,4 @@ mongoose.connect(mongooseURI) const app = express() -require('./routes')(app) \ No newline at end of file +require('./routes')(app) diff --git a/package.json b/package.json index c53560b36a..39823a027f 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,11 @@ { - "name": "CrazyVolt", + "name": "starter-micro-api", "version": "1.0.0", - "description": "Freelancer on Fiverr", + "description": "Cyclic.sh micro api starter", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "dev": "nodemon index.js" + "test": "echo \"Error: no test specified\" && exit 1" }, - "keywords": [], "author": "", "license": "ISC", "dependencies": { @@ -16,4 +14,4 @@ "mongoose": "^8.0.3", "nodemon": "^3.0.2" } -} +} \ No newline at end of file