Skip to content

Commit

Permalink
Merge pull request #1 from MdSamsuzzohaShayon/development
Browse files Browse the repository at this point in the history
Development with djagno and graphql on the server and nuxt js on frontend
  • Loading branch information
MdSamsuzzohaShayon authored Nov 10, 2023
2 parents 3ccb0e3 + 921cf7f commit 89c716c
Show file tree
Hide file tree
Showing 106 changed files with 40,557 additions and 675 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
on:
jobs:
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/virtual-env
/server/.venv
/**/**/__pycache__
/client/node_modules
/client/.cache
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/the-freak-lesson.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Web Dev Lab

### Features
- Selling courses
- Blog on http://blog.webdevlab.org
- Create short tutorial
- Create developer team (career opportunity)
- Create most advanced User Authentication system (Cookie based)
- Forum on http://forum.webdevlab.org
- User role (Admin, Student, Viewer)
-

### Database Modeling (PostgresSQL)
- Articles Table:
- article_id (Primary Key)
- title
- content
- publication_date
- author_id (Foreign Key referencing the Authors Table)
- category_id (Foreign Key referencing the Categories Table)

- Authors Table:
- author_id (Primary Key)
- name
- email
- bio

- Comments Table:
- comment_id (Primary Key)
- article_id (Foreign Key referencing the Articles Table)
- author_name
- email
- comment_text
- comment_date

- Categories Table:
- category_id (Primary Key)
- name

- Tags Table:
- tag_id (Primary Key)
- name

- ArticleTags Table (a junction table to implement many-to-many relationship between Articles and Tags):
- article_id (Foreign Key referencing the Articles Table)
- tag_id (Foreign Key referencing the Tags Table)
4 changes: 4 additions & 0 deletions client.backup/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
.cache/
public
src/gatsby-types.d.ts
4 changes: 4 additions & 0 deletions client.backup/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM ubuntu:latest
LABEL authors="shayon"

ENTRYPOINT ["top", "-b"]
61 changes: 61 additions & 0 deletions client.backup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Gatsby

- [YouTube Tutorial](https://www.youtube.com/watch?v=YQnL-ItsJxM&list=PLGHxS40mEC9D17kmcH3wGdNGMOQeVTAf2)
- [Design template](https://freefrontend.com/tailwind-blog-components/), [Design template 2](https://tailwindcomponents.com/component/blog-post)

#### Requirements
- Make it responsive
- Create color correction
- Add Quill editor
- Add a search option
___

<p align="center">
<a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts">
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
</a>
</p>
<h1 align="center">
Gatsby Minimal TypeScript Starter
</h1>

## 🚀 Quick start

1. **Create a Gatsby site.**

Use the Gatsby CLI to create a new site, specifying the minimal TypeScript starter.

```shell
# create a new Gatsby site using the minimal TypeScript starter
npm init gatsby -- -ts
```

2. **Start developing.**

Navigate into your new site’s directory and start it up.

```shell
cd my-gatsby-site/
npm run develop
```

3. **Open the code and start customizing!**

Your site is now running at http://localhost:8000!

Edit `src/pages/index.tsx` to see your site update in real-time!

4. **Learn more**

- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
- [Tutorials](https://www.gatsbyjs.com/docs/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
- [Guides](https://www.gatsbyjs.com/docs/how-to/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)
- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts)

## 🚀 Quick start (Netlify)

Deploy this starter with one click on [Netlify](https://app.netlify.com/signup):

[<img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" />](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-minimal-ts)
1 change: 1 addition & 0 deletions client.backup/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./src/styles/global.css"
15 changes: 15 additions & 0 deletions client.backup/gatsby-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { GatsbyConfig } from "gatsby";

const config: GatsbyConfig = {
siteMetadata: {
title: `.`,
siteUrl: `https://www.yourdomain.tld`
},
// More easily incorporate content into your pages through automatic TypeScript type generation and better GraphQL IntelliSense.
// If you use VSCode you can also use the GraphQL plugin
// Learn more at: https://gatsby.dev/graphql-typegen
graphqlTypegen: true,
plugins: []
};

export default config;
Loading

0 comments on commit 89c716c

Please sign in to comment.