• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    TypeScript
  • Created over 1 year ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Frontend Masters

This is a companion repo for the Build an AI Powered Fullstack App with Next.js, v3 course on Frontend Masters. This application is built from scratch throughout the course. The main branch contains a final version of the application similar to the one built in the course. The other branches in the repo are code checkpoints which can be used as a starting point for specific lessons.

Getting Started

The course covers the full process of building and deploying the application. The steps below summarize a few of the key requirements.

Create a new Next.js Project

We recommend using Node version 18.x.x and Next.js version 13.4.5 for this course.

npx [email protected] mood
npm run dev

Install Clerk

Clerk is the third-party authentication provider for the application

npm i @clerk/nextjs

Add Clerk secrets to .env.local

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_XXXXXXXX
CLERK_SECRET_KEY=sk_test_XXXXXX
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/journal
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/new-user

PlanetScale Serverless SQL Database

  1. Create a PlanetScale Database
  2. Install pscale CLI
  3. Use the CLI to connect to the DB: pscale auth login
  4. Create a dev database branch: pscale branch create mood dev
  5. Start the connection: pscale connect mood dev --port 3309

Prisma ORM

  1. Install Prisma Client: npm i @prisma/client
  2. Install Prisma as dev dependency: npm i prisma --save-dev
  3. Initialize Prisma: npx prisma init

OpenAI API Account Setup

  1. Create an openai.com account
  2. Select the API App.
  3. Create an API Key
  4. Copy/Paste the key into your into .env.local using the variable OPENAI_API_KEY

More Repositories

1

nextjs-course-app

JavaScript
211
star
2

production-grade-nextjs

TypeScript
181
star
3

fullstack-music

TypeScript
159
star
4

intro-nextjs-v3

TypeScript
108
star
5

api-design-v4-course

TypeScript
99
star
6

intro-node-v3

JavaScript
69
star
7

fullstack-app-v2-app

TypeScript
67
star
8

nextjs-course

JavaScript
33
star
9

intermediate-nextjs

TypeScript
27
star
10

generator-ng-express

Yo generator for easy, simple. minimal, angular + express + mongo. MEAN.
JavaScript
23
star
11

intro-nextjs-app

TypeScript
21
star
12

ng-home-Google-Now

Beautiful personal portfolio/home app for developers using Angular (Google Now theme)
CSS
19
star
13

headless-nextjs

TypeScript
19
star
14

intro-to-nodejs-v2-site

CSS
18
star
15

pair-pressure

JavaScript
11
star
16

intro-next-v3-done

TypeScript
11
star
17

clientside-gql

TypeScript
11
star
18

adv-gqlv2

JavaScript
10
star
19

API-design-v4

JavaScript
7
star
20

intro-nextjs-v2-instructions

JavaScript
7
star
21

frontmen-gql

JavaScript
5
star
22

ai-fullstack-deploy

TypeScript
5
star
23

api-design-v4-again

TypeScript
5
star
24

server-side-gql

TypeScript
5
star
25

ng-conf-2015-sasqwatch

code for demo app I used @ngConf 2015 $asqwatch is real!
HTML
4
star
26

leads

JavaScript
4
star
27

beats-box

beats music app
JavaScript
4
star
28

fe-challenge

JavaScript
3
star
29

fullstack-v2-instructions

JavaScript
3
star
30

ngPolymer-notes

Google keep remake using angular and polymer
JavaScript
3
star
31

beats-music-api

Beats Music api node module
JavaScript
2
star
32

material-weather

Basic Weather app built with the Android L developer preview
Java
2
star
33

api-design-test

TypeScript
2
star
34

90min-gh-cli

JavaScript
2
star
35

rxjs-training

JavaScript
2
star
36

friendly

Social network framework built with the MEAN stack
JavaScript
2
star
37

chart_board

trying out chart.js and making a prototype dashboard for my own knowledge.
JavaScript
2
star
38

mobile-server

simple node server used for mobile messaging app using JWT and Twilio
JavaScript
2
star
39

mini-bootcamp

Created with CodeSandbox
HTML
2
star
40

jwt-decode

jwt decoding middleware used in express
JavaScript
2
star
41

cj-stuff

JavaScript
2
star
42

Fittr

Quantify myself
JavaScript
1
star
43

Hendrixer.github.io

Demo page for ng-Animations.js
JavaScript
1
star
44

fullstack-app-v2

TypeScript
1
star
45

swole-logs

Android + iOS app to record your workouts
JavaScript
1
star
46

angular2-notify

TypeScript
1
star
47

theFrontPage

Basic Android app using some JSON from the front Page of Reddit
Java
1
star
48

mini-bootcamp-course

Created with CodeSandbox
CSS
1
star
49

ng-cms

CMS built with Angular
CoffeeScript
1
star
50

fem-node-v2

JavaScript
1
star
51

angularClassHome

Landing page for http://angularclass.com
CSS
1
star
52

spred-mobile

Objective-C
1
star