Skip to content

Commit 2229df0

Browse files
Merge branch 'develop' into name_input_onbording_form
2 parents 0b7c859 + d2cdf7c commit 2229df0

File tree

3 files changed

+102
-19
lines changed

3 files changed

+102
-19
lines changed

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ We have a fantastic community growing on Discord. Click [here](https://discord.g
2626
```bash
2727
npm install
2828
```
29-
3029
- If you have any issues installing dependencies, check your node version against that defined in the `.nvmrc`. If you're using `nvm`, you can run `nvm use` before installing dependencies.
3130

3231
5. Create a `.env` file and add the following variables. You can copy the contents of `sample.env` with `cat sample.env > .env`.
@@ -43,17 +42,22 @@ NEXTAUTH_URL=http://localhost:3000/api/auth
4342

4443
For a more detailed how to guide on setting them up [go to the Environment Variables section](#environment-variables).
4544

46-
6. [Make sure your database is running](#database_url) and setup the tables in the database with Drizzle by running:
45+
**NOTE:** Before proceeding, [make sure your database is running](#database_url).
46+
47+
6. Setup the tables in the database with Drizzle by running:
48+
4749

4850
```bash
4951
npm run db:push
5052
```
53+
The full command can be seen in our [package.json](/package.json#16) file
5154

5255
7. Seed the database with some mock data by running:
5356

5457
```bash
5558
npm run db:seed
5659
```
60+
The full command can be seen in our [package.json](/package.json#19) file
5761

5862
8. Finally, run the development server:
5963

@@ -90,12 +94,18 @@ Alternatively, if you have PostgreSQL running locally then you can use your loca
9094
Currently, we only allow authentication via GitHub. To enable this you need to have a `GITHUB_ID` and `GITHUB_SECRET` value.
9195

9296
Setup your GitHub ID & Secret on GitHub:
97+
- [Click here](https://github.com/settings/applications/new) to setup New OAuth App and fill in the details as shown below.
9398

94-
- [https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps)
95-
96-
**Shortcut** - [Click here](https://github.com/settings/applications/new) to setup New OAuth App.
9799

98-
For development, make sure you setup this with a **Homepage URL** of `http://localhost:3000/` and **Authorization callback URL** of `http://localhost:3000/api/auth`.
100+
For development, make sure you setup this with a **Homepage URL** of
101+
```
102+
http://localhost:3000/
103+
```
104+
and **Authorization callback URL** of
105+
```
106+
http://localhost:3000/api/auth
107+
```
108+
as shown in the image below:
99109

100110
![Screenshot 2022-10-25 at 08 22 03](https://user-images.githubusercontent.com/12615742/197709325-50766dc2-2245-438c-8f71-09064fc3b123.png)
101111

@@ -104,6 +114,9 @@ After you click the "Register application" button you should see the `GITHUB_ID`
104114
After generating the secret, make sure you copy this value to your `.env` file as this value can not be seen again once you refresh the page. 👇
105115
![Screenshot 2022-10-25 at 08 26 04](https://user-images.githubusercontent.com/12615742/197710697-ef791d9e-b205-4667-a97c-477148917897.png)
106116

117+
More info on Authorizing OAuth in the GitHub documentation
118+
[here](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps).
119+
107120
### Setting up Passwordless auth locally
108121

109122
In order to use Passwordless login locally you need to have a `ACCESS_KEY` and `SECRET_KEY` value.

app/(app)/alpha/additional-details/_client.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -152,21 +152,15 @@ function SlideOne({ details }: { details: UserDetails }) {
152152
</Field>
153153
</div>
154154

155-
<div className="mx-4 mt-4 ">
155+
<div className="mx-4 mt-4">
156156
<Field>
157157
<Label>Username</Label>
158-
<div className="mt-2 flex rounded-md shadow-sm">
159-
<span className=" inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-black px-3 font-semibold text-white dark:bg-white dark:text-black sm:text-sm">
160-
codu.co/
161-
</span>
162-
<Input
163-
id="username"
164-
placeholder="Enter username"
165-
invalid={!!errors?.username}
166-
{...register("username")}
167-
className="rounded-l-none focus-within:after:rounded-l-none"
168-
/>
169-
</div>
158+
<Input
159+
id="username"
160+
placeholder="Enter username"
161+
invalid={!!errors?.username}
162+
{...register("username")}
163+
/>
170164
{errors?.username && (
171165
<ErrorMessage className="text-red-500">
172166
{errors.username.message}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
Tue, October 8th, 2024 • Niall Maher
2+
3+
# 🚀 Node.js Course, TikTok Channel & More
4+
5+
Maintaining an Open-Source repository during Hacktoberfest is hard work. But it's always fun to welcome new contributors.
6+
7+
Earlier today, we hit 69 contributors on Codú's Open-Source codebase!
8+
9+
Nice...
10+
11+
🖥️ **New Node.js Course Launch**: I've started a new course on building CLI tools with Node.js. It's aimed at someone who knows JS and is interested in learning Node.js. Here's the series so far:
12+
13+
- [Introduction to Node.js](https://www.codu.co/articles/introduction-to-node-js-wcw5rwlz)
14+
- [Setting Up Node.js](https://www.codu.co/articles/setting-up-node-js-2fe_wafm)
15+
- [Node.js and Non-Blocking Operations](https://www.codu.co/articles/event-driven-architecture-node-js-and-non-blocking-operations-i65wflm3)
16+
- [Node.js vs JS in the Browser](https://www.codu.co/articles/node-js-vs-js-in-the-browser-dj1e1ilg)
17+
- [Building a Simple CLI Tool with Node.js](https://www.codu.co/articles/building-a-simple-cli-tool-with-node-js-dha19one)
18+
- [Working with Modules in Node.js](https://www.codu.co/articles/working-with-modules-in-node-js-kfgeg-by)
19+
20+
📱 **Codú TikTok**: We've joined the TikTok! Follow us for bite-sized coding tips and behind-the-scenes peeks at the dev life. Check out our first post [here](https://www.tiktok.com/@codu.co/video/7420768768604851489?_r=1&_t=8qBDUDtaoJF), which has a cool VS Code tip.
21+
22+
## 📚 This Week's Picks
23+
24+
**[The Undeniable Utility Of CSS :has (13 mins)](https://www.joshwcomeau.com/css/has/)**
25+
26+
In this blog post, Josh introduces you to :has and shares some of the most interesting real-world use cases he has found, along with some "mindblowing" experiments.
27+
28+
**[An Engineer's Checklist of Logging Best Practices (8 mins)](https://www.honeycomb.io/blog/engineers-checklist-logging-best-practices)**
29+
30+
This checklist of best practices will make your logging efficient, actionable, and scalable.
31+
32+
**[Uploading Images in Next.js (File Uploads, Filestack) (3 mins)](https://www.codu.co/articles/uploading-images-in-next-js-file-uploads-filestack-vntnaf6h)**
33+
34+
Uploading images in Next.js is a common task when developing web applications. This tutorial explores two different approaches.
35+
36+
**[Bolt - AI App Builder (resource)](https://bolt.new/)**
37+
38+
_"Prompt, run, edit, and deploy full-stack web apps_." This new AI tool for developers is igniting the internet.
39+
40+
**[How to Reduce Docker Image Size (5 mins)](https://dev.to/prodevopsguytech/how-to-reduce-docker-image-size-best-practices-and-tips-for-devops-engineers-1ahg)**
41+
42+
Best Practices and Tips for DevOps Engineers
43+
44+
**[Build a Full Stack Calendly clone (video)](https://www.youtube.com/watch?v=0Oacr8VrnNk)**
45+
46+
In this video, Kyle shows you how to create a Calendly clone complete with Google Calendar integration. This project uses Next.js, TypeScript, Drizzle, Neon, Clerk, and ShadCN.
47+
48+
## 📖 Book of the Week
49+
50+
**["Node.js Design Patterns" (3rd Edition)](https://amzn.to/3UoF7Rl)** by Mario Casciaro and Luciano Mammino
51+
52+
Raise your Node.js skills with this comprehensive guide to designing and implementing production-grade applications. Packed with proven patterns and techniques, this book is a must-read for developers looking to write better, scalable, and maintainable Node.js code.
53+
54+
## 🛠️ Something to Enjoy
55+
56+
**[Obsidian](https://obsidian.md/?utm_campaign=Focused&utm_medium=email&utm_source=Revue%20newsletter) --- [obsidian.md](https://obsidian.md/)**Obsidian is a powerful knowledge base on top of a local folder of plain text Markdown files. The human brain is non-linear: we jump from idea to idea constantly. Obsidian helps you map things more like your brain.
57+
58+
## 📅 Upcoming Events
59+
60+
**React Dublin Autumn Meetup**: Join us for an evening of React goodness!
61+
62+
- When? Thursday, October 10th at 18:00.
63+
- Where? Workday, Dublin.
64+
- RSVP: [https://guild.host/events/react-dublin-autumn-up984j](https://guild.host/events/react-dublin-autumn-up984j)
65+
66+
## 🔗 Quick Links
67+
68+
- **Codú TikTok:** [https://www.tiktok.com/@codu.co](https://www.tiktok.com/@codu.co)
69+
- **Hacktoberfest GitHub Issues:** [https://github.com/codu-code/codu/issues](https://github.com/codu-code/codu/issues)
70+
- **Our YouTube channel:** [https://www.youtube.com/@codu](https://www.youtube.com/@codu)
71+
72+
Thanks, and stay awesome,
73+
74+
Niall
75+
76+
Founder @ Codú

0 commit comments

Comments
 (0)