Home

Awesome

Stackoverflow Clone

This project is a simplified a full stack clone of Stackoverflow. I wrote it to learn more about Nodejs, React/Next, pixel perfect design and NoSQL databases in general. Feel free to contribute!

:rocket: Tech Stack

:warning: Prerequisite

:cd: How to run local

# Clone this repository
$ git clone https://github.com/salihozdemir/stackoverflow-clone

# Go into the repository
$ cd stackoverflow-clone

# Go into server
$ cd server

# Start mongodb locally
$ mongod

# Install dependencies
$ npm install

# Start the backend server
$ npm run dev

# On another terminal, go to the client folder
$ cd ../client

# Install dependencies
$ npm install

# Use the command below for Android devices
$ npm run dev

# To see the incomplete storybook components
npm run storybook

:mag_right: Testing

Make sure mongodb is running before testing the server.

$ cd server
$ yarn test

<sub>There are missing tests on the server side and there are no tests on the client side yet.</sub>

:globe_with_meridians: Deploy

Deploying Server App on Heroku

Deploying Client App on Vercel

:scroll: Todo

:memo: License

This project is made available under the MIT License.