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

https://github.com/berkanumutlu/challenge-nodejs-nft-marketplace-app

NodeJS ile NFT Pazar Yeri Uygulaması (Fullstack Developer - Challenge)
https://github.com/berkanumutlu/challenge-nodejs-nft-marketplace-app

Last synced: 2 months ago
JSON representation

NodeJS ile NFT Pazar Yeri Uygulaması (Fullstack Developer - Challenge)

Awesome Lists containing this project

README

        




Node.js logo






NFT Marketplace App Repo stars
NFT Marketplace App Repo License
Node.js Version
Nuxt.js Version
Vue.js Version
@nuxtjs/tailwindcss Version
Vuetify Version
Sequelize Version
PostgreSQL Version
NPM Version
Docker Version

# [Challenge] NFT Marketplace App with Node.js

It is a challenge project based on Node.js with Typescript, API(Express.js, Sequlize PostgreSQL), APP(Nuxt.js v3, Vuetify, Axios).

## Installation

**1)** Clone repository

```shell
$ git clone https://github.com/berkanumutlu/challenge-nodejs-nft-marketplace-app.git
```

Or with SSH

```shell
$ git clone [email protected]:berkanumutlu/challenge-nodejs-nft-marketplace-app.git
```

Or with Github CLI

```shell
$ git clone gh repo clone berkanumutlu/challenge-nodejs-nft-marketplace-app
```

**2)** Copy the example.env file and **make the required configuration changes** in the file

```shell
$ cp /src/api/.env.example /src/api/.env
$ cp /src/app/.env.example /src/app/.env
```

**3)** Install docker container (required docker)

```shell
$ docker-compose up -d
```

**4)** After installation, find your app and api container id on docker

```shell
$ docker ps

# Output:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
...
6f4a83c3731e challenge-nodejs-nft-pazar-yeri-uygulamasi-app "docker-entrypoint.s…" 26 hours ago Up 5 hours 0.0.0.0:3000->3000/tcp nft-marketplace-app
...
```

- And connect to the terminal of your app and api container (Use different terminals)

```shell
$ docker exec -it {APP_CONTAINER_ID} bash
$ docker exec -it {API_CONTAINER_ID} bash
```

**5)** Install all the dependencies using npm (In different terminals)

```shell
/user/local/api $ npm install
/user/local/app $ npm install
```

**6)** Generate mock data

```shell
/user/local/api $ npm run generate:mock-data
```

**7)** Restart your docker container

```shell
$ docker-compose restart
```

**8)** Now you're ready to use project

- To stop the Docker container, use the following command

```shell
$ docker-compose stop
```

## Screenshots

- Home
![Home](screenshots/home.png)
- NFT list
![NFT list](screenshots/nft-list.png)

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.