Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days ago
JSON representation
An ecommerce project
- Host: GitHub
- URL: https://github.com/victorbadaro/launchstore
- Owner: victorbadaro
- Created: 2020-05-18T02:05:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T10:37:41.000Z (4 months ago)
- Last Synced: 2024-12-02T23:13:08.121Z (2 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.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LAUNCHSTORE
[![LEIAME.md](https://img.shields.io/badge/-Leia%20em%20Portugu%C3%AAs-brightgreen?style=for-the-badge)](./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:
![image](https://github.com/victorbadaro/launchstore/assets/9096344/523fc419-6751-435d-b505-3fedf0cd7ffb)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Γ³