Git Product home page Git Product logo

fang-zhang / nodejs-apolloserver-mongodb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from autsada/nodejs-apolloserver-mongodb

0.0 0.0 0.0 196 KB

Backend part of a full stack ecommerce web app. This backend was built in NodeJs, Graphql, and Mongodb as a database, specifically this app was built in NodeJs, Apollo-Server-Express, Mongoose, and Mongodb atlas.

Home Page: https://www.youtube.com/playlist?list=PLCT_w0Fqe_z7o3fVVqlU9NBeByrwjwfDd

JavaScript 100.00%

nodejs-apolloserver-mongodb's Introduction

NodeJs-Apollo Server-Mongodb Tutorial Project

Backend part of a full stack ecommerce web app. This backend was built in NodeJs, Graphql, and Mongodb as a database, specifically this app was built in NodeJs, Apollo-Server-Express, Mongoose, and Mongodb atlas. Its frontend is in separated repository (https://github.com/autsada/nextjs-apollo/tree/master).

Tutorial link on youtube (in Thai)

https://www.youtube.com/playlist?list=PLCT_w0Fqe_z7o3fVVqlU9NBeByrwjwfDd

Prerequisites

NodeJs v8+ (https://nodejs.org/en/)

Installing

  1. Clone the project
git clone https://github.com/autsada/nodejs-apolloserver-mongodb
  1. Install dependencies
npm install

Note:

In order to have this app up an running for all related parts, you need to have Mongodb Atlas account (https://www.mongodb.com/cloud/atlas), email service provider - sendgrid account (https://sendgrid.com/), and omise account (https://www.omise.co/) or you can use other payment gateways such as Stripe or Paypal

In .env file

DB_USER=<YOUR_MONGODB_USER>
DB_PASSWORD=<YOUR_MONGODB_PASSWORD>
DB_NAME=<YOUR_MONGODB_NAME>
PORT=4444
SECRET=<YOUR_APP_SECRET>
EMAIL_API_KEY=<SENDGRID_API_KEY>
OMISE_PUBLIC_KEY=<YOUR_OMISE_PUBLIC_KEY>
OMISE_SECRET_KEY=<YOUR_OMISE_SECRET_KEY>

nodejs-apolloserver-mongodb's People

Contributors

autsada avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.