54sword / Api.xiaoduyu.com
🐟小度鱼 - 年轻人的交流社区 https://www.xiaoduyu.com
Stars: ✭ 168
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Api.xiaoduyu.com
Frisky
🍿 Open Source GraphQL API for Online Shows
Stars: ✭ 161 (-4.17%)
Mutual labels: graphql, mongodb, express
Intro To Graphql
[Course] Introduction to GraphQL
Stars: ✭ 175 (+4.17%)
Mutual labels: graphql, mongodb, express
Next Graphql Blog
🖊 A Blog including a server and a client. Server is built with Node, Express & a customized GraphQL-yoga server. Client is built with React, Next js & Apollo client.
Stars: ✭ 152 (-9.52%)
Mutual labels: graphql, mongodb, express
Fullstackopen
Exercises for the Full Stack Open course.
Stars: ✭ 214 (+27.38%)
Mutual labels: graphql, mongodb, express
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (+71.43%)
Mutual labels: graphql, mongodb, express
Graphql Mongodb Server
A GraphQL MongoDB server.
Stars: ✭ 242 (+44.05%)
Mutual labels: graphql, mongodb, express
Nest Angular
NestJS, Angular 6, Server Side Rendering (Angular Universal), GraphQL, JWT (JSON Web Tokens) and Facebook/Twitter/Google Authentication, Mongoose, MongoDB, Webpack, TypeScript
Stars: ✭ 307 (+82.74%)
Mutual labels: graphql, mongodb, express
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-49.4%)
Mutual labels: graphql, mongodb, express
Node Express Mongo Api
Starter project for a REST API with Node.js, Express & MongoDB 🔋
Stars: ✭ 148 (-11.9%)
Mutual labels: mongodb, express
Express Graphql Example
Example project how to use Express and GraphQL
Stars: ✭ 163 (-2.98%)
Mutual labels: graphql, express
Apollo Server
🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
Stars: ✭ 12,145 (+7129.17%)
Mutual labels: graphql, express
Reaction
Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.
Stars: ✭ 11,588 (+6797.62%)
Mutual labels: graphql, mongodb
Node Easy Notes App
A simple Note-Taking app built using Node.js, Express and Mongoose
Stars: ✭ 148 (-11.9%)
Mutual labels: mongodb, express
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (-13.69%)
Mutual labels: graphql, mongodb
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-8.93%)
Mutual labels: mongodb, express
Webchat
🔈 Websocket project based on vue(基于vue2.0的实时聊天项目)
Stars: ✭ 1,856 (+1004.76%)
Mutual labels: mongodb, express
Nextjs Express Mongoose Crudify Boilerplate
Next.js (React) + Redux + Express REST API + MongoDB + Mongoose-Crudify boilerplate
Stars: ✭ 148 (-11.9%)
Mutual labels: mongodb, express
Youtubemeetupappreactnativenode
Repos of my youtube tutorial where we build a Meetup app with React-Native and Node
Stars: ✭ 153 (-8.93%)
Mutual labels: mongodb, express
小度鱼(API)
年轻人的交流社区
小度鱼开源项目
项目 | 项目体验 | 原代码 | 主要技术栈 |
---|---|---|---|
WEB网站 | www.xiaoduyu.com | github.com/54sword/xiaoduyu.com | React、Redux、React-Router、GraphQL |
APP(iOS、Android) | ![]() |
github.com/54sword/xiaoduyuReactNative | React-Native、Redux、React-Navigation、GraphQL |
后端API | www.xiaoduyu.com/graphql | github.com/54sword/api.xiaoduyu.com | TypeScript、NodeJS、Express、MongoDB、GraphQL |
后台管理 | admin.xiaoduyu.com | github.com/54sword/admin.xiaoduyu.com | React、Redux、React-Router、GraphQL |
开发环境部署
线上运行版本 Node.js 是 v10.15.3,MongoDB 是 v4.0.6
1、安装 Node.js[必须]、MongoDB[必须],并启动 MongoDB
2、克隆项目
git clone [email protected]:54sword/api.xiaoduyu.com.git
3、进入项目
cd api.xiaoduyu.com
4、安装依赖包
npm install
npm install -g typescript
npm install -g supervisor
5、创建默认的配置文件,并根据需要修改其中的配置
cp ./config/index.default.ts ./config/index.ts
6、创建日志文件夹
mkdir ./logs
7、启动监听服务,保持进程不要关闭,运行TypeScript编译器,监控src里面的文件变化
npm run watch-ts
8、另外再启动项目服务
npm run dev
9、浏览器中打开 http://localhost:3000
手动部署到服务器
1、安装 Node.js[必须]、MongoDB[必须],并启动 MongoDB
2、打包项目
npm run dist
3、将 dist、public、package.json、package-lock.json 上传到服务器,然后在服务器进入到项目目录,执行如下命令,安装依赖包
npm install
4、在项目目录下创建logs文件夹
5、启动服务
node ./dist/src/index.js
脚本部署(将本地项目安装或更新到服务器)
使用shell脚本一键安装或更新
1、服务器上安装nodejs与pm2,并需支持全局调用node、pm2命令
2、配置ssh免密码登录服务器
让本机支持ssh免密码登录服务器,配置方法:https://www.cnblogs.com/bingoli/p/10567734.html
3、创建相关的配置文件
cp config/server.default.config.js config/server.config.js
填写 SERVER_IP、PM2_NAME、SERVER_DIR 配置项
4、执行安装命令
npm run install-to-server
5、执行更新命令(本地有修改需要更新的时候执行)
npm run update-to-server
开源协议
MIT
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].