👨‍💻 Advance Features / Backend / Free

Fullstack Social Media - Backend

MongoDB ExpressJs NodeJs

Getting Started with Create React App


SERVER OR BACKEND

Firstly move to the server directory eg: cd server


1. Create a .env file

  The .env file will contain the following:

  i. MONGODB_URL = database connection string

  ii. JWT_SECRET_KEY = your secreate key

  iii. PORT = 8800

  iv. AUTH_EMAIL= email address

  v. AUTH_PASSWORD= email access password

  vi. APP_URL = http://localhost:8800


  Note: I used hotmail account to send verification email, so you can just create one because hotmail account is reliable in product and has no configuration.


  Alos, chnage API_URL when you deploy your app else use localhost with the appropriate port number


2. Run npm install to install the packages

3. Run npm start to start the server

Q&A Section

Login to ask question/answer
loading

Watch Full Video on Youtube

Fullstack Social Media - Backend

3751

Total Downloads

© 2023 CodeWaveWithAsante. All rights reserved.

ContactTerms of ServicePrivacy Policy