All Projects → sophiabrandt → nextjs-ecommerce

sophiabrandt / nextjs-ecommerce

Licence: other
Next.js & Keystone.js E-commerce example with TypeScript

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to nextjs-ecommerce

gbkel-portfolio
💎 My personal website that's mainly powered by Next.js, my own style guide and a lot of other technologies.
Stars: ✭ 12 (-79.66%)
Mutual labels:  nextjs
monorepo-typescript-next-the-sane-way
A monorepo example using TypeScript and Next.js
Stars: ✭ 104 (+76.27%)
Mutual labels:  nextjs
hckrnws
A custom frontend for a better reading experience of HackerNews
Stars: ✭ 20 (-66.1%)
Mutual labels:  nextjs
now-course
Proyecto para el curso de Now.sh en Platzi
Stars: ✭ 19 (-67.8%)
Mutual labels:  nextjs
Hangar
Hackathon sponsorship made easy
Stars: ✭ 34 (-42.37%)
Mutual labels:  nextjs
airbnb-ish
Airbnb UI clone using Next.js + styled-components.
Stars: ✭ 122 (+106.78%)
Mutual labels:  nextjs
theodorusclarence.com
💠 Personal website and blog made using Next.js, TypeScript, Tailwind CSS, MDX Bundler, FaunaDB, and Preact.
Stars: ✭ 205 (+247.46%)
Mutual labels:  nextjs
hn
💻 A personal Hacker News reader using Next.js
Stars: ✭ 43 (-27.12%)
Mutual labels:  nextjs
nextjs-baseweb
Slightly opinionated scaffold of Next.js and Base Web.
Stars: ✭ 46 (-22.03%)
Mutual labels:  nextjs
addtobasic.github.io
CUI Portfolio like ubuntu terminal.
Stars: ✭ 18 (-69.49%)
Mutual labels:  nextjs
dev-cover
🌐 Get and publish your developer portfolio with just your username
Stars: ✭ 155 (+162.71%)
Mutual labels:  nextjs
Adding-Storyblok-to-NextJS-like-a-Pro
Adding Headless CMS to NextJS like a Pro, this repository contains code examples and guide on how to integrate Storyblok, a headless CMS to NextJS.
Stars: ✭ 23 (-61.02%)
Mutual labels:  nextjs
next-mdx-digital-garden-starter
An opinionated starting point for Digital Garden content authoring.
Stars: ✭ 50 (-15.25%)
Mutual labels:  nextjs
next-serverless
☁️ next-serverless deploys your next.js application to AWS Lambda with minimal or even no configuration.
Stars: ✭ 80 (+35.59%)
Mutual labels:  nextjs
next-motion
page transitions with nextjs and framer motion api
Stars: ✭ 25 (-57.63%)
Mutual labels:  nextjs
node-blog-app
🌐 A node+espress+mongoose+react+nextjs blog
Stars: ✭ 12 (-79.66%)
Mutual labels:  nextjs
Batteries-Included-Next.js
A starting boilerplate for a TS Next.js project with batteries included. Tailwind CSS for styling, Jest and React Testing Library working with path aliases and node-mock-http for API route testing.
Stars: ✭ 35 (-40.68%)
Mutual labels:  nextjs
jamstack-preview-and-deployments
Preview and deploy NextJS applications from the wordpress admin.
Stars: ✭ 17 (-71.19%)
Mutual labels:  nextjs
yearn-comms
Collection of communication, announcements, tweets, newsletters, and other articles about Yearn and a hosted blog for all translation contributors.
Stars: ✭ 16 (-72.88%)
Mutual labels:  nextjs
nextjs-shopify-auth
Authenticate your Next.js app with Shopify.
Stars: ✭ 54 (-8.47%)
Mutual labels:  nextjs

Logo

Next.js E-commerce

Example web shop built with Next.js and Keystone.js
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Demo
  3. Screenshots
  4. Getting Started
  5. Usage
  6. Tests
  7. Roadmap
  8. Contact
  9. Acknowledgements

About The Project

Next.js E-commerce is an example online shop built with React.js and Keystone.js.

Built With

Some features:

Demo

I've deployed a demo (via GitOps/Gitlab CI) to a $5 Upcloud VPS (How?).

Backend: https://nextjs-ecommerce-keystone.repository.host
GraphQL API: https://nextjs-ecommerce-keystone.repository.host/api/graphql

Frontend: https://nextjs-ecommerce.repository.host

The password reset uses a sandboxed Mailgun account and only works with one email: [email protected]

To read the password reset email, go to https://www.guerrillamail.com/ and set the inbox to "[email protected]".

Screenshots

You can find more screenshots in the screenshots/ folder.

Main Page

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

  • yarn v1

    npm install yarn -g
  • Docker and Docker Compose

Installation

  1. Clone the repo

    git clone https://github.com/sophiabrandt/nextjs-ecommerce.git
  2. Install NPM packages

    yarn install
  3. Run docker-compose:

    docker-compose up -d
  4. Create configuration file for the backend (backend/.env), see backend/sample.env.

  5. Create configuration file for the frontend (frontend/.env.local), see frontend/sample.env.

Usage

cd backend && yarn run dev
cd frontend && yarn run dev

Go to http://localhost:7771 for the Keystone CMS (backend) and http://localhost:7777 for the Next.js application (frontend).

If you want to use Caddy, you can use the included Caddyfile for automatic HTTPS certificates in local development.

sudo caddy run

Node.js will complain about the missing certificate issuer. For local development, ignore the error with NODE_TLS_REJECT_UNAUTHORIZED = '0':

cd frontend
NODE_TLS_REJECT_UNAUTHORIZED = '0' yarn build
NODE_TLS_REJECT_UNAUTHORIZED = '0' yarn start

The frontend app is available at https://frontend.app.localhost. You can reach the backend app at https://backend.app.localhost/.

Tests

cd backend && yarn run test
cd frontend && yarn run test

Roadmap

See the open issues for a list of proposed features (and known issues).

Contact

Sophia Brandt - @hisophiabrandt

Project Link: https://github.com/sophiabrandt/nextjs-ecommerce

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].