Perfect starter for a any project with NodeJs, express, mongodb, GraphQL in the backend, and React, Apollo JS in the frontend
Authentication is all done. Works with JWT tokens/refreshTokens. SignUp, login, logout, works as a charm. Includes Errors GraphQL side. Also validation in frontend.
- NODE_ENV=development
- MONGODB_URI=mongodb://localhost:27017/nameofdb
- PORT=3000
- SECRET=mahsdASDHASKDaskdjasdAJSDAs
- SECRET2=ASDJASDJasDJQURJFIRWGJDgkjdthijdksjfs