https://github.com/victorbadaro/launchstore
An ecommerce project
https://github.com/victorbadaro/launchstore
browser-sync css ecommerce express html javascript mailtrap method-override monolith multer nodejs nodemailer nodemon nunjucks postgresql seed session upload
Last synced: about 1 month ago
JSON representation
An ecommerce project
- Host: GitHub
- URL: https://github.com/victorbadaro/launchstore
- Owner: victorbadaro
- Created: 2020-05-18T02:05:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-06T00:40:00.000Z (5 months ago)
- Last Synced: 2025-01-30T07:13:38.890Z (3 months ago)
- Topics: browser-sync, css, ecommerce, express, html, javascript, mailtrap, method-override, monolith, multer, nodejs, nodemailer, nodemon, nunjucks, postgresql, seed, session, upload
- Language: JavaScript
- Homepage:
- Size: 2.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LAUNCHSTORE
[](./LEIAME.md)
## Summary
- [π§Ύ About](#-about)
- [π Main technologies](#-main-technologies)
- [π» Usage](#-usage)## π§Ύ About
This is a web application where the user can find the most common e-commerce features like: buy products, sell products, announce items and so on.## π Main technologies
- [Node.js](https://nodejs.org/)
- [Express](https://expressjs.com/)
- [Multer](https://github.com/expressjs/multer)
- [PostgreSQL](https://www.postgresql.org/)_(You can see all the dependencies in the [package.json](./package.json) file)_
## π» Usage
As you can see on [π Main technologies](#-main-technologies) topic, this application depends on a [PostgreSQL](https://www.postgresql.org/) database, so you must have it installed.
First things first:1. Clone the project (you'll need a [personal access token](https://docs.github.com/pt/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls)):
```bash
git clone https://github.com/victorbadaro/launchstore
```2. Access its directory:
```bash
cd launchstore
```3. Install its dependencies:
```bash
npm install
# feel free to use another package manager, but you might want use npm once there's already a package-lock.json file in the root directory
```4. Access your postgresql server
5. Run each one of the 4 steps that are in the [database.sql](./database.sql) file
6. Create an **account** and an **inbox** on [mailtrap.io](mailtrap.io). You'll need the SMTP credentials to continue (*username* and *password*)
7. Create a `.env` file in the root directory with the same content that is in the [.env.example](./.env.example) file and fill the variables with your own data:
For example:
8. Run the [seed](./seed.js) file:
```bash
npm run seed
```9. Start the server by running the `dev` script:
```bash
npm run dev
```π _**Have fun! You are now an e-commerce owner!**_
---This project was created and developed with β€ by Victor BadarΓ³