FullStack

[消失]用 Typescript 编写的 React/ApolloGraphQL/Node/Mongo 演示。「React/ApolloGraphQL/Node/Mongo demo written in Typescript」

Github星跟蹤圖

FullStack

What is this?

This project can be used as a full-stack boilerplate for you to learn some cool things or build your next app off of. It's pretty much a top picks of my favorite tech and best practices. I hope you enjoy it!

If you're trying to expand into some of the technologies I'm using here, star it, fork it and start playing! Feel free to find my email at the bottom of my site and reach out with any questions.

follow me on Twitter

Stack

Client

Built using react-native-web because it's really cool and really easy to turn into a mobile app

Server

Written in Node.js. The server uses GraphQL with apollo-server for delivering data between client and server and typegoose for interacting with Mongo in a nice type-friendly way.
Accounts are set up using the wonderful accounts.js library.

Generators

type-graphql and graphql-codegen are used to generate types for all my GraphQL resolvers to keep client and server totally and beautifully in sync.

Other cool things

I've included a number of animations using plain CSS and react-spring. If you're a react developer and want to animate your work learn react-spring. Thank me later. This project is using Plaid to access read info for users bank accounts and Google Place API for address lookup.

Usage

To get this working right you'll need to create API keys for Google Places and Plaid. Then add them to the client and server config files.

# Run mongo
sudo mongod

# In ./server
yarn install
yarn watch

# In ./client
cp ./src/config/example.env.json ./src/config/development.env.json
yarn install
yarn start
yarn gen:types:watch

License

MIT

主要指標

概覽
名稱與所有者TrillCyborg/fullstack
主編程語言TypeScript
編程語言Python, Java, JavaScript, Objective-C, HTML, TypeScript, CSS, Dockerfile (語言數: 8)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2019-06-02 20:10:10
推送於2019-12-29 23:37:14
最后一次提交2019-07-17 00:44:44
發布數0
用户参与
星數12.6k
關注者數330
派生數4.1k
提交數60
已啟用問題?
問題數30
打開的問題數12
拉請求數9
打開的拉請求數5
關閉的拉請求數6
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?