All Projects → projekt-matara → koa-demo

projekt-matara / koa-demo

Licence: MIT license
Simple API build to demonstrate Koa.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to koa-demo

Koa Web Kit
🚀A Modern, Production-Ready, and Full-Stack Node Web Framework with React
Stars: ✭ 199 (+1005.56%)
Mutual labels:  koa2
Wl Mfe
基于vue3+koa2+qiankun2的微前端后台管理系统项目实战
Stars: ✭ 224 (+1144.44%)
Mutual labels:  koa2
Strapi Sdk Javascript
🔌 Official JavaScript SDK for APIs built with Strapi.
Stars: ✭ 247 (+1272.22%)
Mutual labels:  koa2
React Ssr
React 服务端渲染(SSR),react + redux + koa2 + sequelize + mysql全栈项目(Full Stack)
Stars: ✭ 205 (+1038.89%)
Mutual labels:  koa2
Koa Ts
The best practice of building Koa2 with TypeScript
Stars: ✭ 220 (+1122.22%)
Mutual labels:  koa2
Kit
ReactQL starter kit (use the CLI)
Stars: ✭ 232 (+1188.89%)
Mutual labels:  koa2
Video Admin
node+koa2+mysql
Stars: ✭ 192 (+966.67%)
Mutual labels:  koa2
koa-mongoDB
😊😊Koa and mongoose build services
Stars: ✭ 24 (+33.33%)
Mutual labels:  koa2
Koa2 Boilerplate
Enhanced koa2 boilerplate in ES7 with Babel http://koa2-boilerplate.tarax.cn/
Stars: ✭ 223 (+1138.89%)
Mutual labels:  koa2
Lazy Mock
一个快速生成后端模拟数据的懒人工具,支持代码生成器模板开发
Stars: ✭ 236 (+1211.11%)
Mutual labels:  koa2
Bilibili Vue
前端vue+后端koa,全栈式开发bilibili首页
Stars: ✭ 2,590 (+14288.89%)
Mutual labels:  koa2
Koa Webpack Middleware
webpack dev&hot middleware for koa2
Stars: ✭ 215 (+1094.44%)
Mutual labels:  koa2
Monkov
A blog system built with vue and koa
Stars: ✭ 234 (+1200%)
Mutual labels:  koa2
Vue Mall Mobile
🔥 vue + koa + mongodb 搭建 mobile web 商城 (End。。。)
Stars: ✭ 201 (+1016.67%)
Mutual labels:  koa2
koa-webpack-server
Koa2 webpack all-in-one environment for universal development
Stars: ✭ 14 (-22.22%)
Mutual labels:  koa2
Egg Core
A core Pluggable framework based on koa.
Stars: ✭ 194 (+977.78%)
Mutual labels:  koa2
Sinn Server
an node server for sinn,that based on of nodejs,koa2,mongoose,docker,nginx,es6/7,Resful API,阿里云 http://servertest.boyagirl.com/
Stars: ✭ 228 (+1166.67%)
Mutual labels:  koa2
monero-merchant
Monero Merchant is a RESTful API wrapper for the official Monero wallet RPC. This project is mainly for merchants who hope to accept Monero as payment, which is currently the most robust and privacy-oriented cryptocurrency with extremely low transaction fees.
Stars: ✭ 27 (+50%)
Mutual labels:  koa2
vue-node-mongodb-blog
vue + node + mongodb + webpack5 + koa2 从开发到上线搭建一款简约的个人博客系统(前后端分离)
Stars: ✭ 44 (+144.44%)
Mutual labels:  koa2
Koa2 Mongodb Server
利用koa2+mongodb搭建一套简易的nodejs后台服务,用于为客户端提供数据请求的数据api接口
Stars: ✭ 235 (+1205.56%)
Mutual labels:  koa2

Koa.js To-Do API Demo

This is intended as a minimalist demonstration of a ToDo API written with Koa.js and Mongoose/MongoDB.

To get started, you will need the following...

  1. Node.js 7.x.x or above.
  2. Yarn though pure npm can work as well.
  3. MongoDB
  4. Nodemon
  5. Optional but greatly helpful - Postman

Once you have all of items listed above, simply follow these directions.

  1. From the terminal, git clone the repository into your directory of choice.
  2. cd in to the project's home directory and enter yarn install.
  3. Once the packages have installed, open up the project from your text editor of choice.
  4. Open app.js.
  5. Inside app.js, look for mongoose.connect on lines 20 and 21.
  6. Inside mongoose.connect, replace '/path/to/your/mongo' with the Mongo database URI of your choice. Save the change.
  7. From the terminal, enter npm start. The app should (hopefully) fire right up.
  8. Open Postman, then import the koa-demo.postman_collection.json file.
  9. You should be able to interact with the API with ease now.
  10. Enjoy!

One last note, I sincerely hope this ToDo API can be of help to anyone trying to gain an understanding of how to build things using Koa. Don't take what I do as the way to work. Anything you see is just a way to get the job done. That said, I hope this can be of some value to you. If something goes wrong, please feel free to let me know and I'll see what I can do.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].