Full-stack example with authorization, registration, personal profile, editing and deleting data.
- Client: Apollo GraphQL + Vue Apollo+ Vue2+ Vue router + LocalStorage
- Server: Apollo GraphQL + Koa2 + Mongoose & MongoDB + JWT
git clone https://github.com/nikitamarcius/graphql-authentication-register-profile
for each folder: test-client and test-server perform separate installation:
$ cd <folder-name>
$ npm i
$ npm run dev
Set up your connection to MongoDB in test-server > src > db.js:
mongoose.connect('mongodb://localhost:27017/test')
connection docs
