Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ycabrera90/buymeacoffee

With this App you can thanks my job.
https://github.com/ycabrera90/buymeacoffee

dlocal-infrastructure ejs express heroku-deployment nodejs

Last synced: about 8 hours ago
JSON representation

With this App you can thanks my job.

Awesome Lists containing this project

README

        


EIP Studios

# Buy me a coffee
This in a small [endpoint](https://buy-me-a-coffee.yosniel-dev.com) to interact with DLocal services for make online payments.

## Built with
* [EJS](https://ejs.co/) - Template engine
* [Node.Js](https://nodejs.org/en/docs/) - JavaScript runtime environment
* [Express](https://www.mongodb.com/atlas) - Node.js Framework!
* [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - Dependencies handler

## Frontend Side
Te frontend side of this project is rendered in the server side using the template engine [EJS](https://ejs.co/). Yo can see the final deployment in the following [link](https://buy-me-a-coffee.yosniel-dev.com).

## Clone and run app
These instructions will allow you to obtain a copy of the project on your local machine for development and test purposes.
Look the [**deployment**](https://buy-me-a-coffee.yosniel-dev.com) so you can see the final result.

#### Pre-requirements
For run this project you must have installed globally the following packages in your local machine

* [NodeJs](https://nodejs.org/en/)
* [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)

#### Clone and prepare.
For clone and serve the project you need open a terminal, go to the folder which you want to work and put the follows commands
```
git clone https://github.com/ycabrera90/BuyMeACoffee.git

cd BuyMeACoffee

npm install
```

After that you have to create a file called **nodemon.json** with the follow structure:
```
{
"env": {
"DLOCAL_API_KEY": "",
"DLOCAL_API_SECRET": "",
}
}
```
You can get the **DLocal api key** and **DLocal api secret** in you account of [DLocal Go](https://dashboard.dlocalgo.com/).

#### Serve the app.
For serve the app you need to run the following command:
```
npm run dev
```

Then you can open your browser and go to the following [link](http://localhost:5000).

## Authors
* [**Yosniel Cabrera**](https://yosniel-dev.com) - *React Developer*

## License
This project is **public** and only for academic purposes.

## Read More 🎁
* You can find the documentation of the APIS in the following [link](https://docs.dlocalgo.com/integration-api/).


[⬆ Back to top](#buy-me-a-coffee)


---
[email protected]