Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zrna/newsletter-signup
Newsletter sign up template
https://github.com/zrna/newsletter-signup
database javascript mysql nodejs
Last synced: 25 days ago
JSON representation
Newsletter sign up template
- Host: GitHub
- URL: https://github.com/zrna/newsletter-signup
- Owner: Zrna
- Created: 2018-11-15T20:42:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T18:49:00.000Z (almost 6 years ago)
- Last Synced: 2023-10-20T08:07:28.538Z (about 1 year ago)
- Topics: database, javascript, mysql, nodejs
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
:envelope: Newsletter Template :envelope:
===Description
---
Landing page for sign up to newsletter.
All entered emails will be saved into "users" table in "newsletter_subscribers" database (which you need to create - read Installation instructions).Running `npm run migration` application will create "users" table and insert fake users emails.
Created using NodeJS and MySql.
File List
---
```
./migrations./public
./views
app.js
package-lock.json
package.json
README.md
schema.sql
```
Installation
---
1. Download or clone the project
2. Go into the project `cd newsletter-signup`
3. Run `npm install`
4. Create database and name it "newsletter_subscribers"
5. Rename config_example.js file to config.js and set username and password
6. Run `npm run migration`
7. Run `npm start`Application will open on localhost:8080
Screenshot
---
![example](https://user-images.githubusercontent.com/22341530/48863676-73fdf500-edca-11e8-87ba-60be259f8e8d.png)