Skip to content

maximkrouk/Vapor-GraphQL-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vapor-GraphQL-Example

Getting started

You should have XCode installed

NPM Installation

Source of the installation guide

First, install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Then run brew update to make sure Homebrew is up to date.

brew update

As a safe measure you should run brew doctor to make sure your system is ready to brew. Run the command below and follow any recommendations from brew doctor.

brew doctor

Next, add Homebrew’s location to your $PATH in your .bash_profile or .zshrc file.

export PATH="/usr/local/bin:$PATH"

Next, install Node (npm will be installed with Node):

brew install node

Boot

// BACKEND
"> Open ./todos-backend/Package.swift in Xcode
"> Wait for the dependencies to be fetched
"> Run scheme

// FRONTEND
"> Open ./todos-frontend in terminal
"> Run `npm install` and `npm run serve`

// BROWSER
"> Backend address http://localhost:8080
"> Frontend address http://localhost:8081

"> Go to http://localhost:8081

Screenshots

Register


Lab2


Login


Lab2


Main


Lab2


Add todo with no title ❌


Lab2


Add todo with no content ✅


Lab2 Lab2

About

Vapor example with Generic REST CRUD, GraphQL & VueJS Frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors