Skip to content

Commit 0a5dbd0

Browse files
committed
Initial commit
1 parent 48aa00d commit 0a5dbd0

32 files changed

+4307
-0
lines changed

supa-vacation-nextjs/.env.example

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DATABASE_URL=
2+
NEXTAUTH_URL=
3+
NEXTAUTH_SECRET=
4+
EMAIL_SERVER_HOST=
5+
EMAIL_SERVER_PORT=
6+
EMAIL_SERVER_USER=
7+
EMAIL_SERVER_PASSWORD=
8+
EMAIL_FROM=
9+
GOOGLE_ID=
10+
GOOGLE_SECRET=
11+
SUPABASE_URL=
12+
SUPABASE_KEY=
13+
SUPABASE_BUCKET=

supa-vacation-nextjs/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

supa-vacation-nextjs/.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env
29+
.env.local
30+
.env.development.local
31+
.env.test.local
32+
.env.production.local
33+
34+
# vercel
35+
.vercel

supa-vacation-nextjs/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 AlterClass
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

supa-vacation-nextjs/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Build a FullStack App with Next.js, Supabase & Prisma | The Modern Dev by
2+
[AlterClass.io](https://alterclass.io).
3+
4+
- Learn to build this application step-by-step by following the FREE course on
5+
[The Modern Dev](https://themodern.dev/).
6+
7+
- Preview the app live [here](https://supa-vacation.vercel.app/).
8+
9+
- Deploy the same app using Vercel:
10+
11+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/AlterClassIO/supa-vacation&project-name=SupaVacation+by+The+Modern+Dev&repository-name=SupaVacation+by+The+Modern+Dev)
12+
13+
[![SupaVacation](https://user-images.githubusercontent.com/4352286/152961498-0e7d1575-a2a2-4aae-93e0-a75e701cef06.png)](https://supa-vacation.vercel.app/)
14+
15+
## Getting Started
16+
17+
### 1. Clone the repository and install dependencies
18+
19+
```
20+
git clone https://github.com/AlterClassIO/supa-vacation
21+
cd supa-vacation
22+
npm install
23+
```
24+
25+
### 2. Configure your local environment
26+
27+
Rename the `.env.example` file in this directory to `.env` (which
28+
will be ignored by Git):
29+
30+
```
31+
cp .env.local.example .env.local
32+
```
33+
34+
Add your own values for all the environment variables.
35+
36+
### 3. Start the application
37+
38+
To run your site locally, use:
39+
40+
```
41+
npm run dev
42+
```
43+
44+
To run it in production mode, use:
45+
46+
```
47+
npm run build
48+
npm run start
49+
```
50+
51+
## License
52+
53+
[MIT](https://github.com/AlterClassIO/supa-vacation/blob/master/LICENSE)

0 commit comments

Comments
 (0)