All Projects → Jason-Chen-2017 → Restfeel

Jason-Chen-2017 / Restfeel

Licence: apache-2.0
RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的API。

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Restfeel

Curso Sistemas Web Com Spring Javascript Bootstrap
Stars: ✭ 74 (+25.42%)
Mutual labels:  jpa, tomcat, bootstrap, jquery
Ruoyi Oracle
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 134 (+127.12%)
Mutual labels:  swagger, springboot, bootstrap, jquery
Ruoyi
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 905 (+1433.9%)
Mutual labels:  swagger, springboot, bootstrap, jquery
Spring Boot Leaning
Spring Boot 2.X 最全课程代码
Stars: ✭ 2,008 (+3303.39%)
Mutual labels:  swagger, jpa, mongodb, springboot
Crown
Based on SpringBoot2, Crown builds a rapidly developed web application scaffolding.
Stars: ✭ 161 (+172.88%)
Mutual labels:  gradle, springboot, bootstrap, jquery
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+69.49%)
Mutual labels:  swagger, mongodb, springboot
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (+401.69%)
Mutual labels:  swagger, restful-api, mongodb
Nodejs Socketio Chat App
MEAN Stack & Socket.IO Real-time Chat App | A MEAN stack based Real Time chat application
Stars: ✭ 45 (-23.73%)
Mutual labels:  mongodb, bootstrap, jquery
Tutorial
Java全栈知识架构体系总结
Stars: ✭ 407 (+589.83%)
Mutual labels:  mongodb, springboot, tomcat
Webfluxtemplate
Spring Webflux template application with working Spring Security, Web-sockets, Rest, Web MVC, and Authentication with JWT.
Stars: ✭ 107 (+81.36%)
Mutual labels:  restful-api, gradle, mongodb
Superboot
随着技术日新月异,新技术新平台不断出现,对现如今的开发人员来说选择快速高效的框架进行项目开发,既能提高产出,又能节约时间。本框架无需开发即可实现服务注册、服务发现、负载均衡、服务网关、配置中心、API管理、分布式事务、支撑平台、集成框架、数据传输加密等功能,是学习SpringCloud整体业务模式的完整示例,并且可以直接用于生产环境
Stars: ✭ 341 (+477.97%)
Mutual labels:  swagger, mongodb, springboot
Web
适合java新手入门练习的java web个人网站项目,目前主要维护web-mysql和web-psql两个分支。前台包括博客、代码库、文件下载、留言、登录注册、站内搜索、分类目录等功能,后台包括上传文件、博客、代码,编辑、删除文章,修改个人资料等功能,目前暂停开发新功能。网址:https://demo.hemingsheng.cn ,觉得不错的欢迎 star。 手机版网址:
Stars: ✭ 414 (+601.69%)
Mutual labels:  tomcat, bootstrap, jquery
Fs Blog
个人博客,Spring Boot 开山之作,采用 Spring Boot + MyBatis,前端 Bootstrap + LayUI,支持程序员非常青睐的轻量化的 Markdown 编辑器 Editor.md,支持标签分类检索
Stars: ✭ 700 (+1086.44%)
Mutual labels:  gradle, springboot, bootstrap
Angularjs Springmvc Sample Boot
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.
Stars: ✭ 309 (+423.73%)
Mutual labels:  swagger, jpa, bootstrap
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (+62.71%)
Mutual labels:  swagger, restful-api, mongodb
Spring Boot Angular2
spring boot backend, angular2 frontend with webpack, typescript, sass, bootstrap4, karma, jasmine
Stars: ✭ 396 (+571.19%)
Mutual labels:  gradle, springboot, bootstrap
Hibernate Orm
Hibernate's core Object/Relational Mapping functionality
Stars: ✭ 4,806 (+8045.76%)
Mutual labels:  gradle, jpa, database
Springboot
SpringBoot 整合各类框架和应用
Stars: ✭ 54 (-8.47%)
Mutual labels:  swagger, mongodb, springboot
Favorites Web
云收藏 Spring Boot 2.X 开源项目
Stars: ✭ 4,485 (+7501.69%)
Mutual labels:  jpa, springboot, bootstrap
Javaquarkbbs
基于Spring Boot实现的一个简易的Java社区
Stars: ✭ 755 (+1179.66%)
Mutual labels:  swagger, bootstrap, jquery

RESTFeel

RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的API。

功能简介:

  • 请求生成器-使HTTP请求轻松。
  • 请求树以树的形式组织请求。
  • 合作-添加团队成员,管理多个项目。
  • PDF报告-生成项目状态报告PDF格式。
  • 历史-查看历史/活动日志。
  • 自定义的时间间隔运行API项目。
  • SendGrid - SendGrid集成发送通知。
  • 云部署-它可以部署在任何服务器上,也可以用来作为一个基于云的托管Web应用程序。
  • 私人-安装在您的环境和完全拥有它。与你的团队一起在你的私人网络中工作。
  • 数据库-存储在您的数据库中的一切。
  • swagger API文档生成。
  • 标签-标签提供了一个有用的方式来组合相关的要求。
  • 安全,访问控制,通知机制等。

RESTFeel接口测试平台

RESTFeel接口测试平台

系统环境


OS Mac
JDK 1.8.0_40
Gradle 3.5-rc-2
IDEA2017.1 Ultimate
MongoDB 3.2.4

MongoDB configuration:

Building From Source

Prerequisites
  • JDK 7 or later

  • Maven 3.0+

  • Gradle 2.4 (Optional)

  • MongoDB 3.x

Build
mvn clean install
Run
mvn spring-boot:run
Access

The build file is configured to download and use an embedded Tomcat server. So the application should be up and running by using just two commands mentioned above. Once the server is started, the application can be accessed using http://localhost:8080.

Default login email / password : [email protected] / rf
Debug
mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"

Note : To avoid java.lang.OutOfMemoryError: PermGen space, use the following command:

MAVEN_OPTS="-XX:PermSize=256m -XX:MaxPermSize=512m" mvn spring-boot:run 

Go to src/main/resources/env-development.properties and update mongodb properties. Here is how the sample configuration looks like:

mongodb.name=restfeel

mongodb.host=localhost

mongodb.port=27017

mongodb.username=

mongodb.password=
Steps to re-build the database:
1. Stop restfeel server, if running.
2. Start MongoDB, if not running.
	Here is the command I use : "C:\Program Files\MongoDB\bin\mongod.exe" --dbpath C:\Users\ANUJA\Documents\restfeel\data
3. Connect to MongoDB.
	Here is one of the ways to connect to MongoDB : 
	Go to "C:\Program Files\MongoDB\bin" folder and run "mongo" command.
	Then run "use restfeel" command and finally "db.dropDatabase()" command to delete the existing restfeel database.
	Note : you will see following message on the command prompt : { "dropped" : "restfeel", "ok" : 1 }
4. Start restfeel application (mvn spring-boot:run) - This will create and initialize the database.
Steps to recover database:
Sometimes MongoDB doesn't start and shows message:
        old lock file: C:\Users\ANUJA\Documents\restfeeldata\data\mongod.lock. probably means unclean shutdown
Run repair operation to recover your database
	"C:\Program Files\MongoDB\bin\mongod.exe" --dbpath C:\Users\ANUJA\Documents\restfeeldata\data --repair
Most likely, your data will be repaired with the --repair option. In case it doesn't, delete the mongod.lock file and then run the above --repair command.

MongoDB配置restfeel数据库用户名密码

Step1.首先,切换到admin db (schema):

> use admin;
switched to db admin

Step2.在該 schema 下面設置用戶名,密碼:


> db.createUser({ user: "root",pwd: "root",customData:{name:"root"},roles:[{ role: "userAdminAnyDatabase",db: "admin" }]})
Successfully added user: {
	"user" : "root",
	"customData" : {
		"name" : "root"
	},
	"roles" : [
		{
			"role" : "userAdminAnyDatabase",
			"db" : "admin"
		}
	]
}
> db.auth('root','root')
1

Step3.admin中直接给restfeel权限

var r = 
    {
      "_id": "restfeel.root",
      "user": "root",
      "db": "restfeel",
      "credentials": {
        "SCRAM-SHA-1": {
          "iterationCount": 10000,
          "salt": "riZjwBYHvkcV99typ8BRMA==",
          "storedKey": "E2QOruLrBNXD1mlQTX0TQogL/ws=",
          "serverKey": "JEQhfa/5x7+aNzKrFvKRkctXXfQ="
        }
      },
      "roles": [
        {
          "role": "dbOwner",
          "db": "restfeel"
        },
        {
          "role": "read",
          "db": "restfeel"
        },
        {
          "role": "readWrite",
          "db": "restfeel"
        }
      ]
    }


db.system.users.insert(r)


或者db.createUser

use restfeel
db.createUser({"user":"jason","pwd":"123456","roles":["dbOwner","read","readWrite"]})

可以看到admin中已经有了jason这个管理员:

> use admin;
> db.system.users.find();

{
  "_id": "restfeel.jason",
  "user": "jason",
  "db": "restfeel",
  "credentials": {
    "SCRAM-SHA-1": {
      "iterationCount": 10000,
      "salt": "HZsutqbxGjKVkPcY4305FQ==",
      "storedKey": "bynL9UW9cIf0iPOLo9pGwCFz638=",
      "serverKey": "PRPKH+7dVaKDJ/JE+7ZjQUe3whA="
    }
  },
  "roles": [
    {
      "role": "dbOwner",
      "db": "restfeel"
    },
    {
      "role": "read",
      "db": "restfeel"
    },
    {
      "role": "readWrite",
      "db": "restfeel"
    }
  ]
}

Fetched 4 record(s) in 9ms

參考文章

《MongoDB极简教程》第一章 安装&环境配置

《MongoDB极简教程》第二章 MongoDB 基本命令

基于开源项目开发: Restfiddle

关于RESTFeel

Copyright 2017-3-17 Jason Chen

Profile - https://jason-chen-2017.github.io/Jason-Chen-2017/

Contact - [email protected]

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].