lbke / twaikura

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vulcan Next

Vulcan Next helps you build GraphQL-based applications with Next.js.

vulcan-next-starter banner

Check the features

Read the introductory article

Install and run

git clone https://github.com/VulcanJS/vulcan-next-starter.git
yarn
yarn run dev

Open http://localhost:3000 in your browser. You can then access the live docs on http://localhost:3000/docs.

Setup your own git

Initialization

# Rename "origin" to "upstream", so you can use your own git repository as the main origin and VN official repo as "upstream"
git remote rename origin upstream

Update

You can update your Vulcan Next install. Beware: Vulcan Next is a boilerplate, the possibility to update automatically is not guaranteed. You may have to apply the updates by hand, comparing Vulcan Next latest version to your own code.

# Get the latest version of Vulcan Next locally
git fetch upstream
# Merge to your own code (favouring your own code as a default in case of conflict)
git merge upstream/master -X ours

Roll your own Mongo database

As a default, Vulcan Next will connect to a sample read-only database owned by LBKE. To create your own application, you'll want to use your own databse.

1. Run a Mongo server using Docker

See Docker installation instruction for Ubuntu here

# It will run Mongo in your current terminal, or create and run a Mongo image if it's the first time your run the command
yarn run start:mongo

2. Configure your application to use your local database

In .env.development or .env.development.local use this URI for Mongo:

MONGO_URI="mongodb://localhost:27017/vulcan-next-app"

We advise to use MongoDB Compass to visualize your database content.

They support Vulcan Next and Vulcan Meteor

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Technical supports

They give time and share knowledge to support the project.

aplines lbke

Other cool Next stuff


About Next

This is a Next.js project bootstrapped with create-next-app.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on ZEIT Now

The easiest way to deploy your Next.js app is to use the ZEIT Now Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About


Languages

Language:TypeScript 60.1%Language:JavaScript 38.3%Language:CSS 0.9%Language:Dockerfile 0.3%Language:Shell 0.3%Language:HTML 0.1%