Coder Social home page Coder Social logo

bitree1 / fullstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from immortalin/onefraction

0.0 1.0 0.0 1.22 MB

React/ApolloGraphQL/Node/Mongo demo written in Typescript

License: MIT License

Python 2.76% Java 1.87% JavaScript 0.72% Objective-C 5.52% HTML 2.11% TypeScript 85.05% CSS 1.97%

fullstack's Introduction

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 技术栈 客户端使用react-native-web,通过它可以很轻松的构建一个移动应用程序 Server 端通过Node.js编写,服务器使用GraphQL和apolo -server在客户端和服务器之间传递数据,使用typegoose与Mongo进行交互,账户设置则是使用accounts.js库 GraphQL解析器生成类型则是通过type-graphql和graphql-codegen

此外,Jason还使用了一些简单的CSS及react-spring构建的许多动画,如果你是一名React开发者,那你一定会感谢他的

用法 想要该程序正常运行,你还需要进行以下操作,获取API,并将它们添加到客户端和服务器配置文件当中

fullstack's People

Contributors

bitree1 avatar elie222 avatar falkf avatar franciscop avatar mcgraths7 avatar shazow avatar trillcyborg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.