-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from scienmanas/web-functional
Web functional
- Loading branch information
Showing
34 changed files
with
873 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,67 @@ | ||
Will shortly be updated | ||
<div align="center"> | ||
<img src="" alt="Logo"> | ||
</div> | ||
|
||
# 🔰 Certiailer | ||
|
||
An all in one tool to generate certificates is mass and mail them. Moreover the certificates are generated with unique-id which can be verfied at **https://certimailer.xyz** | ||
|
||
## Divisions | ||
|
||
CertiMailer is an open source project with a website as well as script version. The whole project is divided into two division for differnt users: | ||
- `Python Script`: For advanced user who want to use the codebase or make their own. | ||
- `Web version`: A web version is made hosted on free tier of different services. Intended for normal users. | ||
|
||
## 📚 Tech Stack | ||
|
||
### Python Script | ||
|
||
- Mailny python and its differnt libraries. | ||
|
||
### Website | ||
- **Client:** Next JS, TailwindCSS. | ||
- **Server:** Node, Express. | ||
- **Datebase:** Mongo DB, Google cloud storage bucket. | ||
|
||
|
||
|
||
## 🔨 Setting Up | ||
|
||
To set up the project locally, follow the steps mentioned in their respective folders (for `python script` and `web version`). | ||
|
||
## ⚡ Features | ||
|
||
- `Various News Types Supported:` World, General, Nation, Business, Technology, Entertainment, Sports, Science, Health. | ||
|
||
- `Wide Range of Countries Supported:` India, Brazil, Canada, France, Japan, United States | ||
|
||
## 📁 File Structure : | ||
|
||
``` | ||
. | ||
├── Website | ||
│ │── Frontend | ||
│ │ └── ... Necessaty files | ||
│ │── Backend | ||
│ │ └── ... Necessaty files | ||
│ └── README.md | ||
├── python script | ||
│ │── ... Necessaty files | ||
│ └── README.md | ||
├── .gitignore | ||
├── LICENSE | ||
└── README.md | ||
``` | ||
- For detail view of file structure for each part look into that specific part respectively. | ||
|
||
## 🔥 Contributing | ||
|
||
Contributions are always welcome! Additionally you can contact me by my email: **[email protected]**. There are many thinsg which can be improved, if you feel something needs to be added/modified raise an issue. Additionally if you want you can work on that issue too. | ||
|
||
## 📷 Screenshots | ||
|
||
|
||
|
||
## 🔒 License | ||
|
||
This repository is open source and under [MIT](https://choosealicense.com/licenses/mit/) License. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import mongoose from "mongoose"; | ||
|
||
const newsLetterSchema = new mongoose.Schema( | ||
{ | ||
email: { type: String, required: true, unique: false } | ||
}, | ||
{ | ||
collection: 'newsletter' | ||
} | ||
); | ||
|
||
export default mongoose.models.newsLetter || mongoose.model('newsLetter', newsLetterSchema) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import mongoose from "mongoose"; | ||
|
||
const WaitListSchema = new mongoose.Schema( | ||
{ | ||
name: { type: String, required: true }, | ||
designation: { type: String, required: true }, | ||
email: { type: String, required: true }, | ||
}, | ||
{ | ||
collection: ' waitlist' // collection in which the data is saved | ||
} | ||
); | ||
|
||
export default mongoose.models.waitList || mongoose.model('waitUser', WaitListSchema) |
Oops, something went wrong.