Skip to content

terry-ice/GraphQL-ApolloServer-and-Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

# Run mongo
sudo mongod

# with npm
npm install

# or with Yarn
yarn install

prsima

  • how do you use prsima?

  • Open folder: cd src

  • Start your Prisma server: docker-compose up -d

  • Deploy your Prisma service: prisma deploy

Your Prisma endpoint is live: HTTP: http://localhost:4466 WS: ws://localhost:4466

You can view & edit your data here: Prisma Admin: http://localhost:4466/_admin

Running

# 开发
$ npm run dev

# 生产环境运行
$ npm run start

Testing

Open your browser at http://localhost:4000 and start sending queries.

Features

  • Babel 7 -- 完成✨✨🎉🎉
  • GraphQL -- 完成✨✨🎉🎉
  • Express -- 完成✨✨🎉🎉
  • ApolloServer -- 完成✨✨🎉🎉
  • Mongoose -- 完成✨✨🎉🎉

Related Projects

License

MIT

Releases

No releases published

Packages

No packages published