Fullstack React and GraphQL training.
- Nodejs
- Cloudinary account
- MongoDB(I recommend mongo atlas)
- Ethereal email
- Stripe account
- React on the client-side of the application
- Next.js on the client-side of the application
- Styled Components for the styles of the application
- Keystone.js as a
CMSof the application - Cloudinary to store the
imagesof the application - dotenv for the
environment variablesof the application - GraphQL for the
queriesandmutations - Apollo for handle the
graphQLAPI and thecacheof thequeries - Ethereal for an example email service
- nodemailer to define and send an email
- react-transition-group to animate the
cartcounter - downshift to handle the
search - Stripe to handle the
paymentson the application
- Home
- Products
- Single Product
- Update Product
- Sell
- Orders
- Single Order
- Account
- Sign in page
- Reset page
- CMS home
- On your editor go to the
frontenddirectory - Create a file called
env.local - Add the following content to the
env.localNEXT_PUBLIC_STRIPE_KEY="my_stripe_public_key" - On your terminal go to the
frontenddirectory - Install all dependencies using:
npm install - Run your local server using:
npm run dev - On your browser; go to the homepage
- On the root of the
backenddirectory create a file called.env - Add the following content to your newly created file
CLOUDINARY_CLOUD_NAME=my_cloudenay_cloud_name CLOUDINARY_KEY=my_cloudenary_api_number CLOUDINARY_SECRET=my_cloudenary_secret COOKIE_SECRET="random_string" DATABASE_URL=my_mongoDB_connection_string FRONTEND_URL="http://localhost:7777" MAIL_HOST="smtp.ethereal.email" MAIL_PORT=587 MAIL_USER="your_ethereal_username" MAIL_PASS="your_ethereal_password" STRIPE_SECRET="my_secret_stripe_key"
- On your terminal; go to the
backenddirectory - Install all dependencies using:
npm install - Run your local server using
npm run dev - On your browser; go to
http://localhost:3000/
- On your terminal; go to the
backenddirectory - Install all dependencies using:
npm install - Run the following command
npm run seed-data