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

https://github.com/zephinzer/farewell

yes
https://github.com/zephinzer/farewell

Last synced: 5 months ago
JSON representation

yes

Awesome Lists containing this project

README

          

# farewell

Live [here](https://pensive-albattani-7782c8.netlify.app/)

## Guidelines

- We don't write tests
- We push to master

## Start local server

```
yarn start
```

## Add new card

Add messages to `src/messages/messages.js`:

- For normal text card with a header and a message:
```javascript
{
type: "text",
header: "some header", // optional
message: "some message"
}
```
- For a photo with alt text, first place it in the images folder and import it as a variable (e.g. `someImg`). Then:
```javascript
{
type: "photo",
image: someImg,
alt: "alt text for the image",
},
```
- For photo card with message, first place it in the images folder and import it as a variable. Then:
```javascript
{
header: "some header", // optional
message: "some message",
image: someImg,
alt: "alt text for the image",
}
```