GithubHelp home page GithubHelp logo

aashish-dhiman / wealthup-assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 197 KB

Home Page: https://wealthup-assignment.vercel.app/

JavaScript 95.81% CSS 4.19%
expressjs mongodb nextjs nodejs

wealthup-assignment's Introduction

WealthUp.me Internship Assignment

Introduction

This repository contains the code for the internship assignment provided by WealthUp.me. The goal of this assignment is to create a web design using Next.js from the given Figma design. Additionally, it involves creating a Node.js backend with MongoDB to handle API routes related to code validation.

Technologies Used

  • Next.js: The project is built using Next.js, a React framework that enables server-side rendering and easy configuration.

  • Tailwind CSS: Tailwind CSS is used for styling, providing a utility-first approach for designing the user interface.

  • Node.js: The backend is developed using Node.js, a JavaScript runtime.

  • MongoDB: MongoDB is used as the database to store and manage codes.

Setup Instructions

Frontend (Next.js)

  1. Clone the repository:

    git clone https://github.com/your-username/wealthup-internship.git
    cd wealthup-internship
    cd client
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev

    Open your browser and navigate to http://localhost:3000 to view the application.

Backend (Node.js with MongoDB)

  1. Navigate to the backend directory:

    cd backend
  2. Install dependencies:

    npm install
  3. Run the server:

    node server.js

Backend

  1. Create a .env file in the backend directory:

    MONGODB_URI=your_actual_connection_string
    
  2. Update your backend code to use the environment variable:

    // Example usage in server.js
    require('dotenv').config();
    
    const mongoose = require('mongoose');
    mongoose.connect(process.env.MONGODB_URI, { useNewUrlParser: true, useUnifiedTopology: true });

wealthup-assignment's People

Contributors

aashish-dhiman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.