The Wall App is an application where users can see awesome messages posted by the community members. The users can also register to the platform and start sharing their own thoughts on The Wall.
demo.mp4
The Wall web was built using ReactJS, a Javascript library that makes creating web applications fun and productive. Moreover, this projects uses libraries such as Styled Components, Axios and SWR.
Following the instructions down below you'll get a copy of the project, so you can run it from your local machine.
To run this project you must have:
-
NodeJS and Yarn installed on your machine. You can get these tools at https://nodejs.org and https://yarnpkg.com.
-
The Wall back-end api running on your local machine.
-
Using the terminal, clone the repository to your local machine:
$ git clone https://github.com/FelipeTomazEC/wall-app-web.git
-
Enter the directory of the project:
$ cd wall-app-web
-
Install the dependencies:
$ yarn install
or$ yarn
-
Make a copy of the
example.env
file, and name it as.env
:$ cp example.env .env
-
Open the
.env
in an editor of your preference and edit the variables values. -
That's all. Now you can run it with the command:
$ yarn start
It's also possible to run the application on your local machine using Docker. In order to do that, you'll need Docker and Docker Compose installed. After installing these tools, do the following:
-
Make a copy of the example.env file, and name it as .env:
$ cp example.env .env
-
Open the
.env
in an editor of your preference and edit the variables values. -
Run Docker Compose command on the command line:
$ docker-compose up -d
-
That's it. The Wall API should be available on http://localhost:3001/.
P.S.: The 3001 is the PORT variable defined in .env file.