Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Tooling Upgrade #51

Open
prastut opened this issue Jul 25, 2018 · 0 comments
Open

App Tooling Upgrade #51

prastut opened this issue Jul 25, 2018 · 0 comments
Assignees

Comments

@prastut
Copy link
Owner

prastut commented Jul 25, 2018

DB

Move to RethinkDB over MongoDB. It's perfect for our usage. https://rethinkdb.com/faq/

Auth

Use Passport.js (when we move to the model where users can sign in and reply)

API

Move to GraphQl (Apollo toolchain)

##Express
Setup it like it's here: https://github.com/withspectrum/spectrum/blob/alpha/api/index.js

Javascript Tooling

There is a lot of work that's been done in the JS ecosystem to finally put the fires down between developers. Why not use them?

Our team is primarily using VSCode as the editor, but feel free to use any which supports these tools (most popular editor have extensions for them):

  • Prettier.
  • Eslint
  • Flow (will introduce when code has to scale)

Eslint

  • Too many console.logs spoil the broth. Warning for console.logs
  • Introduce Airbnb's eslint config.

Good extensions to have:
https://marketplace.visualstudio.com/items?itemName=burkeholland.simple-react-snippets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants