Ask HN: We are shutting down our startup, I get our code. What now?

382 points by sad_cofounder ↗ HN
I'm a technical co-founder and invested a lot of time building our website, app, backend and CMS over two years.

My co-founder recently decided to shut the company down, focusing on what he/she does best rather than being reliant on tech/design loops by making our amazing designer create a Shopify site that he/she can manage him/herself.

Without going into details, it is fair but we will need to have serious talk once everything has settled so I can move forward.

Anyhow, as my payment for these past years, I get to sell whatever we have created, code wise, and get the dough for it.

The problem is that I have no clue how to properly handle a sell like this.

There is a bunch of new startups that has recently popped up, doing what we initially did with a caveat; they lack an app for it, currently hustling to make things work. So there might be a pretty good possibility for us to sell it.

To give you an idea what we are doing; an React Native app that sell and connect a very specific type of workshops with costumers over custom WebRTC Video chat(fork of React Native-based Jitsi Meet). What I can tell, I haven't seen another custom Jitsi-Meet integration yet that gives the ability customize the UI that we have.

We use Firebase as our backend and Stripe as our payment integration. Data entry / workshop scheduling is managed using a custom built CMS. We have custom emails + in-app notifications work through Firebase Cloud Functions.

Should I contact these startups? Anything I should do first, legally wise?

I'm clueless.

227 comments

[ 3.2 ms ] story [ 228 ms ] thread
- Write, sign and notarize an agreement that the code is either duplicated or transferred to you.

- Decide who gets the data: users, you, someone.

- Sanitize servers and services by trying to overwrite data with junk values before canceling.

- Cancel monthly services and free services.

- If it was good, don't let the team relationship go to waste. Talk with whoever's left / worked-with previously about doing something else.

---- Then and only then ----

- Do "consultingish" work or solve a problem you have to find a problem worth solving.

- Sell something good people want before you invest too much time/money/mental health building something too much.

- Keep it real: building "your amazing idea" without a feedback loop gathering critical data from paying/potential customers is #fail.

- Someone though will have to step-up to be the sales/buzz builder or one will need to be found (hopefully, someone you've known for some time or a friend-of-a-friend). No useless "idea guys" allowed.

- Sales/buzz person or someone will need to be the captain of the ship ultimately in-charge of everything.

- Iterate fast, executing based on feedback and sales numbers. Prefer the best one you can get into if you can. (YC, hihi.;)

- Everyone at the beginning gets equal equity vested over 3-5 years. First employees should get ~1% equity, more if it's an employee-owned co-op.

- Don't pray for funding, sales/profit cures all.

- Raise funding only if you could definitely grow faster with more money.

- Skip accelerators unless you need a network and/or are relatively inexperienced.

- When you get big enough, incorporate (California or Delaware C-corp). If it's s consultancy, LLP or LLC. https://clerky.com

Good advice. Remember, people may not care about the code as the company is folding. But if it turns into something and money starts to flow then people's memories become foggy.
All good advice. I'm especially a fan of:

> If it was good, don't let the team relationship go to waste. Talk with whoever's left / worked-with previously about doing something else.

Some of my best times at work have come from the relationships left after the company crashed and burned. Companies disappear, people don't have to.

It costs $500/yr to run an LLC (Incorporation/renewal fee, registered agent, and a P.O. Box), unless you have no assets and don’t plan to have any assets in the next 2 years then I would strongly recommend incorporating before you have any sort of liability.

All it takes is one oops at a client to have a $1m judgement hanging over your head. LLC (in your state, don’t get fancy) sooner than later. Business insurance is typically another $500-800/yr for software startups, but I wouldn’t recommend that until you have something to protect (like money in the bank)

Do you happen to know how much for a Delaware C Corp?.

I.e. not the formation, but year to yeat maintenance?

For the pure maintenance of the company we spend like 300-400 bucks.
You also need to maintain out-of-state business registration in the state you reside. I would not get fancy until you can afford a CPA to ensure this is all up to date
Unless you’ve studied it, you might be surprised to learn that as a principal an LLC is not offering you the kind of protection you imagine. It basically protects investors. IANAL but was surprised myself when one explained it to me.
Maybe you misunderstood? The LL in LLC stands for limited liability after all. Other than your capital contribution, and assuming no fraud or incompetence, there will be personal liability protection.
Piercing the corporate veil is a thing, though. I don’t know the details as I’m neither a lawyer nor a company owner, but my understanding is that you have to keep your and your company’s assets and activities completely separate, which requires a level of discipline that many people don’t have.

Similarly, as a single-person company, any action that could cause liability was presumably performed by you, personally. That makes it much easier for a litigant to sue you personally instead of/in addition to your company.

Absolutely true, and it is true regardless of whether you use an LLC, S, or C Corp.
If none of the more complicated strucures will provide the liability protection that you're going to need, there's also the possibility of doing business as a sole proprietor/DBA. You get no protections at all, but the reporting requirements are much reduced (in some cases, just filing a 1040).
The second can only occur because of the first. It’s also why I said keep a bank ledger :)
I don't know about LLC but in Germany there is something very similar called GmbH. Which does provide you with limited liability for many _but not all aspects_. So always consult a lawyer with specialization in that area about liabilities not covered. I have heard about startups which founders did run into some of the non covered liabilities leaving them with a large amount of dept which they could have partially avoided as far as I heard.
„So always consult a lawyer with specialization in that area...“ as german as it gets...
The core of this is financial liability. Whether that is extremely helpful, or just somewhat helpful depends on the context. I can't think of many cases where you wouldn't want to have an LLC, or Limited Company (UK), or whatever the equivalent is.

Creating one can help enforce some separation too: different bank accounts, different AWS accounts, etc. This feels pretty good, unless the company is some tax dodge which also places increased transparency on some things.

Whatever someone does, they can make a fair attempt at running their business professionally and it will limit significant risk and liability. This means taking boring paperwork and bureaucracy seriously. It means recognizing mistakes and fixing them before they get serious. Good companies don't generally get sued and lose. You can also seek outside advice so that you make better decisions. When you take reasonable measures these will get recognized when you are in a situation.

Ok, I’ll google it for you. But I do encourage you to talk to your attorney so you can pay for her bad news like I did.

“ Personal Liability for Your Own Actions

There is one extremely significant exception to the limited liability provided by LLCs. This exception exists in all states. If you form an LLC, you will remain personally liable for any wrongdoing you commit during the course of your LLC business. For example, LLC owners can be held personally liable if they:

personally and directly injure someone during the course of business due to their negligence fail to deposit taxes withheld from employees' wages intentionally do something fraudulent, illegal, or reckless during the course of business that causes harm to the company or to someone else, or treat the LLC as an extension of their personal affairs, rather than as a separate legal entity. Thus, forming an LLC will not protect you against personal liability for your own negligence, malpractice, or other personal wrongdoing that you commit related to your business. If both you and your LLC are found liable for an act you commit, then the LLC’s assets and your personal assets could be taken by creditors to satisfy the judgment. This is why LLCs and their owners should always have liability insurance.”

That makes sense though, and is what I always thought. Proctects you as an honest and competent employee of the company from liability, assuming you're acting in good faith, from the actions of the company. Why on Earth would anyone think it's a blank check for any behavior?
And the same is true of S and C corporations. There is no legal structure that is going to protect you individually from wrongdoing.
This is not just about breaking the law. Being negligent can cause personal liability. This is the kind of liability people often think the “LL” protects them from.
It costs $500/yr to run an LLC

Your advice to register an LLC is very good. I’ll add:

1) Costs are very state specific. And if you register in the state you live in you can act as your own registered agent and eliminate a lot of the yearly fees. In my state I can register directly for $90 with the Department of State (of my state, not federal) and there are no recurring fees.

2) Follow the rules by keeping all finances separate or you might as well not have registered the LLC.

Do not skimp on your llc. I said $500 to protect yourself. You can go the cheap route but then your name is associated with your business and scams come out the woodworks. Plus it’s hella unprofessional and You may miss out on contracts because you don’t meet their vendor reqs
The second half of this is just great advice for all startups.
Great advice. I think you just wrote the howto for doing a pivot.
> First employees should get ~1% equity, more if it's an employee-owned co-op.

I would be interested if anyone knows more about how the co-op idea would work, also assuming you took investment. Would a corporation be formed as well as a co-op, and the co-op would be a shareholder in the corporation?

There are many ways to slice the pie, and I would offer that a better way would be to give profit percentage instead of equity.

When it comes to making decisions many employees won't care too much about the direction, and will slow down the process.

Give your employees a fair share, but keep ownership amongst the founders.

Most sensible people are going to want shares, also not having shares is counter to the whole HN SV ethos
1 By definition equity and dividends must be shared equally between all members of a coop 100 members = 1%

2 Structure the way I have seen this work the coop owns the company (or a controlling interest) which employs the members of the coop

Coop structures can get complex normally most countries have special laws for this and it can be tax advantageous.

Coops can take outside investment but they have to maintain 50% +1 shares to remain a coop

As far as I know, if your company has 10 employees, everyone owns 1/10 of the company. If you hire someone else, everyone, even the new person, owns 1/11 of the company.

The idea is: shares aren't devided by capital, but by heads.

But you can usually add some clauses to the contracts, that people have to work for some kind of period, before they are considered "comrades".

I'm a little confused because this doesn't seem to answer the question OP is asking: how to sell the code he's been left with as a part of the wind-down.
My takeaway was don’t try to sell the software you have. Try to find a problem someone has (and will pay you to fix) and try to fix it.
Sad to say it, but a bunch of code from a failed startup is probably nearly valueless without context. I think that motivates an answer based on extracting value from it combined with the context on it that a founder has.
Oh, agreed, but it would have been nice if the top-rated comment in the thread actually explicitly said that ;)
You should note that OP actually asks three questions: #1 What now #2 Should OP contact the startups #3 What to do first, while also adding they don't know what's involved in selling a resource like this.

If they wanted a detailed question of what to do AND WHY, they could pay a consultant. A consultant would go over around the same points as duelingjello, but also explain why. As an Internet forum answer, it honestly goes above and beyond.

The answer basically strips into two -- first get rid of any and all 'ball and chain' from the old company, existing customers setups and data. Then put the IP to work, making money.

The answer does skip over the general unasked question of "Can I just sell the code?" to which the answer is generally "no." You'd need an existing enterprise or source that knows the code, wants the code and can use the code, which in the modern age is just not going to happen: Startups come and go and everybody wants to make their own solution. Most engineers I know would look at "existing code" as bloat or a hindrance in general, and would look at it as "a sales team problem." If anything, you'll get peanuts for selling the actual code itself.

Building a new enterprise that has a technical team to handle the code and a sales team to sell the code, potentially with an existing customer base sounds like a much better plan. Does it involve risks? Yes. Does it still answer OP's question of wat do? Absolutely.

> Sanitize servers ...

A side note here: that can be impossible on a cloudy service where your data may have moved between many nodes over its life, and difficult to guarantee in other circumstances. On future projects consider encryption at rest for all data then all you have to worry about is destroying all copies of the relevant keys. Still try a wipe at the end of course, in the name of security in depth, in case there are keys errantly floating around out there.

If you are performing a secure wipe, don't go OTT with 37 sequenced passes (if your threat model "requires" that then you have other matters to concentrate on!) don't make the final stage zeros: fill the volumes with cat pictures/videos, or if you are feeling evil use shock images instead. Give the cracker that tries to poke around something to look at!

> ... and services by trying to overwrite data with junk values before canceling

Also impossible unfortunately, though again you should try if only to show due diligence. Always assume that once your data is out there it is out there for good. Just like a delete is not often a real delete (just a soft delete where a "deleted" flag is set), an update often only affects the current value leaving it and any previous values still present in history or audit structures.

(not that I'm saying this piece of your advice is bad, I just feel it just needs a few caveats to be explicitly stated)

Yes. Do the best you can. Especially if they use something like paper_trail on Rails or other soft deletes. Maybe ask to the vendor to search/purge databases/files and overwrite free disk space manually too.

For certain types of data and with experise, it might be wise to run your own servers (colo) and encrypt the drives. After surviving to a certain scale, you'll want to save money by running hybrid bare metal+cloud anyhow. Then, you'd have control to nuke your servers (DBAN), local snapshots and encrypted backups. Hybrid infrastructure should allow pinning systems to prevent migrating to or sending snapshots to third-parties.

> Do the best you can.

Aye. While guaranteeing the information is absolutely gone is often impossible, you should at least do what you can make it more difficult to retrieve or be accidentally revealed.

> and encrypt the drives

If you are using VMs then full disk encryption within the VM will work just as well, and most cloud services can offer effectively the same thing with their containers.

You just have to be very careful with key management, which in some cases may be inconvenient (blocking restart until you intervene to provide keys, if you don't want them stored on or directly accessible by the same provider) depending on how paranoid you feel the need to be. Of course if you are truly paranoid, by character or by contractual necessity, keys in memory on shared infrastructure even temporarily could be an issue at which point you need "dedicated cloud" resource or colo/self-host for the affected parts of your apps/infrastructure.

This list will help me with all the steps I need to consider now, later and in the future.

Thank you duelingjello. I have a lot to learn and it's becoming obvious I need some time to grow and this will definitely help me.

Seems like you should just reach out to the startups and see if there is interest. If there are multiple interested, try selling it as a white label service. Otherwise sell it outright with a multi-month contract to help with the integration.

If there's no interest though, then any upfront work you do now will be wasted effort.

Is it a two-sided marketplace? I am currently building one. If you're willing to adjust it to meet our requirements, let's talk!
What's your intent? Sell the rights outright or sell it as some sort of service? Do you want to create a new persistent business out of this situation?
The code without the team is not interesting to any potential buyers, unless it's a work of art that any team can pick up quickly, are you included in the package? (you weren't clear about this and changes everything.).
I know this isn't what you are looking for but...

Is the stripe integration in react-native? If so, I think it would be great to open source it and publish to npm. There really isn't a good react native stripe library out there, the only one I have dealt with is tipsi-stripe[1] which is poorly documented, poorly maintained and inflexible.

If you really don't want to open source it, I'd love to chat about buying it off you.

[1] https://github.com/tipsi/tipsi-stripe

Agreed on this, on both points, actually. Releasing it open source could be great marketing for your startup, or selling/licensing it could work out great.
Off-topic, but just curious, are you allowed to have other, non-authorized Stripe frontends without voiding the PCI compliance, or is that not what this is?
If you contact those other startups, I'd try to get some cash upfront and a "big wheel" position with them. Get paid, dump it on them, give yourself two years to work through with them and let go emotionally and then with that cash and experience get on to the next.
> Anyhow, as my payment for these past years, I get to sell whatever we have created, code wise, and get the dough for it.

Yikes, it sounds like you are walking away here with virtually nothing.

If I were you, I would fight for ownership in whatever is next for your cofounder. If that means it is a Shopify store, that is fine, but you should get X% of revenue, profit sharing, something out of this.

The code you have now is ultimately worthless and is not a good 'payment' for the time and energy you invested into this company.

I do not think the current arrangement you have outlined is in any way fair.

I agree with this, it seems like you don’t have much IP that would be worth selling.
Strongly agree!

Companies are so keen to keep their own code, but most don't realise it would be useless to anyone else.

Right, it’s like used underwear. A daily driver for one person doesn’t mean it’s a fit for someone else, and even if it is there is no appeal.
Given the right circumstances there could be a lucrative market for used underwear. Not mine, but someone’s. Does the same analogy apply to codebases? Probably.
http://rewear.ly/ is available...
Actually, there is a market for used underwear. Look up the rag trade - industrial rags and the like. They shred old fabric for use in workshop and industrial applications.

The more you know...

It was the plot of one of the seasons of Orange is the New Black.
Hahaha! You made me laugh. And you are right!
Wait... what!? Why would this person get a percentage in someone else's next thing? I agree this OP isn't getting much out of this, but it doesn't seem like there was anything more to get. I don't understand why they should get a part of a completely separate thing their ex-cofounder is doing.
The post isn't clear, but I read it as "The cofounder has decided to shut the company down and hire the designer for a new venture in the exact same business doing the exact same thing, except using Shopify instead of a custom tech stack, so they don't need a technical cofounder anymore," which is basically "The cofounder has decided to downsize the other cofounder whose skills were no longer needed." If this is true, OP at the very least provided market validation/research/etc. If the new venture is relying on business relationships or branding from the old, then the claim is much stronger. If so, OP can say, look, you basically want to fire a cofounder and take their ownership stake but you don't want to fight this in court, neither do I, I will settle for you taking some of my ownership stake in exchange for going away quietly.

If the new venture is actually completely separate (or no more related than "In the process of trying to launch business X and failing, I realized that a very different business Y would be more profitable"), then yes, I agree with you.

I tend to agree with your thoughts but I would add this: If the cofounder is shutting one entity and starting another to do essentially the same thing, you don't want a piece of that pie. Count yourself lucky that all that happened is that the company failed and go to the next thing. If he's willing to do that, he's got next to zero character.

As for the code, I wouldn't touch it after the original company ceases. The code belongs to the entity that created it and when its gone, the code is gone. If you start something new from this code and it becomes successful, guess who is going to come out of the woodwork and want a portion of it? Yes, the same guy who likely would deny you anything from his new venture.

I've been in this situation and when you've written so much code, and it's good. It's painful to separate from it. I also flip houses and there are times when it's time to just sell the house already and I almost feel sad that I'm not going to get to work on it anymore. Sometimes I feel remorseful that I won't get to see all my good work after its sold. But here's the thing, if I don't sell it, I won't replenish the capital I need to do more. And in the software sense, if I don't move on from a project after its done, I will continue to mentally and physically labor on a work that is producing nothing. And if it does do something, you'll forever be looking over your shoulder for that cofounder who will sue you for a portion of it.

All this said, there are a couple of alternatives you can consider.

#1 is to simply agree with the founder that the company should open source the code base. This gives you the benefit of letting future employers, cofounders, coworkers, etc seeing your work. And this benefits him too as being associated with the project. it puts a coda on the project so that the work you did doesn't just disappear into vapor.

# 2 you should consider both signing separation agreements and put it in writing that everything is over and there are no claims on work product, intellectual property, etc.

> If you start something new from this code and it becomes successful, guess who is going to come out of the woodwork and want a portion of it?

This is literally the reason lawyers exist. It’s not hard to draft up an agreement where the former co-founder transfers all rights and ownership and relinquishes any claim to the technology.

Agreed I was just trying to help the person achieve a bit of zen. it’s nice to think you can get him to sign something but chances are he’ll interpret it that the code is worth something and dig in...As they say in arendelle ... let it go, let it go...
> OP at the very least provided market validation/research/etc

Exactly and this market validation has value for the "new" company. It's also not clear whether or not OP got paid during their two year jolly.

As a co-founder, you accept the risk that if your company fails, you get nothing, and you might not get compensated for your time. That's just how startups work. High risk, high reward.

Therefore it's ridiculous to say OP deserves a % of revenue/profit/equity of their co-founders next venture. There's no legal or ethical basis for negotiating this.

Assuming it's an entirely separate venture, sure.

But from the OP it sounds like the cofounder might be continuing in the same line of business, but wants to "pivot" and jettison the now-dead weight of the technologist.

If this is the case it seems plausible that his contributions and R&D are still relevant, even if they're throwing out his code, and so perhaps he's entitled to whatever stake he vested over those first two years.

This makes sense to me. If it's entirely unrelated then yeah totally. But if they're doing a shopify store to sell these workshops then I think OP should get some points
If the co-founder is taking any code, data, or customers to the next venture, then it seems fair the other co-founder should get something out of the new venture.

If the co-founder is taking just knowledge, best-practices, know-how, and life experience, then the other co-founder does not have any legal basis to expect anything.

Both of us are missing a tremendous amount of context on the situation. Both of us could be equally way off base.
Yeah agreed, but I think the other comments should help OP figure out what applies to their situation.
This is a terribly unethical viewpoint.

Just because your startup is worthless doesn’t mean you get a percentage of your cofounders next business. That’s ridiculous.

It's not ridiculous at all if it's in the same niche doing the same thing.
Yes it is.

The business's legal structure is being closed and shut down. OP only has claim over how the assets of that legal structure are distributed.

If his partner goes on to start a new business in the same niche to do the same thing, legally and ethically there's nothing he can do or claim.

Ownership is bounded by legality. As long as someone starts a new company completely from scratch (without using any of the resources from the prior one), then you have no ownership claim to it.
No, but you can accuse them of fraud if they start essentially the same company without you in it.
The implication here is that maybe the cofounder's 'next business' is the same business with a different back-end and that the market presence and customer base (which absolutely are assets of the current business) are being carried forward. If this is the case then the OP has a valid claim to any profits generated by those assets, or to being bought out.
This is not true at all.

The business's legal entity is being shut down and closed. The OP only has claim over assets of that business. If he agrees to certain assets being given to the other partners, he has no claim for the future use of those assets.

Of course, if that's part of the split (you take the code you wrote, I take the customers I sold to) then there's no future claim. The way I read it, there was no discussion of that, but maybe I'm wrong - after all we don't have much to go on here.
Yes that’s a fair point. We don’t know all the details.
> If I were you, I would fight for ownership in whatever is next for your cofounder

Depends on whether the cofounder is using the current company's assets towards the next venture (and it seems like the answer is no, so there is really no basis for that ask).

Bear in mind that assets includes market research, customers, branding, and any vendor relationships
It's very much context-based. The cofounder doesn't have to give up shares of the company if it's a new company.
Shop your code around; that you didn't find use for it doesn't mean somebody else isn't in need your code solves and could pay for it.
My guess is that the code/app will not be as valuable as you hope (unless there are existing customers that you get to inherit with this transition).

Take a loss on this startup and move forward to something new.

I'm making some assumptions here but I'm guessing you meant "Customers" not "Costumers" and also you have been putting in a bunch of work for the past two years on your project with little to no income from it or any other source.

Unless this IP or "Code" was written by someone else let it die on the vine with the rest of the company, write new code for your own project, use your experience to make improvements to the new code and start fresh, it sounds like you were using pieces of gpl code anyways.

Why would you bother taking the risk of creating a unicorn only to have your pokects picked by your "cofounder" that quit, then sues once it becomes profitable?

No matter what agreement you made, even if you get it notarized, your risking much more than if you just knuckle down and do the work again yourself.

Besides it's always easier and faster to do it a second time.

I'd suggest contacting accelerators and other early-stage startup fund aggregators to see if any of their companies have a need, either to replace a prototype/PoC level product or are engaged in a pivot that would be sped up by acquiring your software.
Sounds like you should contact a lawyer.
Because indexes are decoupled form the data (so to speak) and one could easily have more than one index.
I hope you’ve already come to terms that you will probably see no return on the time you invested in the past two years, and that you are not simply still in the denial phase trying to squeeze something out of your efforts.

If you sell your code, the most it would probably fetch is somewhere in the low three digits, and it would probably be snapped up by someone who doesn’t care about the business they just want to have a beefy open source project as part of their resume or portfolio (which is basically the smart way to get open source credibility without toiling for years to no end, think about it, 300 bucks buys two years of open source experience).

If I were you, I’d beat them to the punch and open source your project and move on with your life, let others maintain it and maybe make it into something great.

unfortunately - this is probably correct. don't fall victim to the sunk cost fallacy, as this is the most expensive way (time) to do so.
I think it's a hard sell, you can contact those competitors and see if there is an appetite to buy an existing product in order to get to market quickly but depending on how mature that product is I can't see there being much of an appetite.

What's your co-founder walking away with? If they're walking away with cash and your walking away with (non patented) IP then you got the short end of the stick.

Sounds like you have free rein to productize some of your IP here. Might it make sense to turn any part of what you've built into a SaaS business?
Depends who you know.

A bunch of Reddit employees broke off years ago and started a company called Imzy, the CEO decided to shut it down and took ownership of the source code, which he then sold to someone (I want to say techcrunch) for precisely 1 million dollars.

I read that Imzy raised $11M, so selling the IP for $1M when they shut down seems necessary to recover money for the investors. Honestly it surprises me they could even get that much for a failed company’s code base. Unless you are saying the CEO personally got that cash? That sounds more noteworthy.
Yes the second thing. The CEO personally took that cash.

Source: I worked with one of the cofounders of Imzy and he spilled all the tea, that's the best I got though.

It sounds like the investors screwed up by giving away their claim on that IP.
The code may be worthless without customers. Can you take some of the underlying infrastructure and pivot it into a different app?

As others mentioned, be sure you have clear and unhindered rights to the code and IP.

Otherwise, take your knowledge and skills and do consulting work (maybe for one of those competitors). Even if you walk away with no remuneration, you have great hands-on experience in a production environment.

I was a technical cofounder who built a company on Firebase+Stripe like you did. When we were acquired it was for the loyal customer base we built in a niche space, and the relationships we had painstakingly built over several years. The CEO of the acquiring company gave us valuable insight that the value of the code we built was not even a minor factor in the acquisition price/decision. Our first project at the new company was to migrate our customer data and backend to their infrastructure on AWS. Unless you have built something proprietary that solves a technical challenge in a meaningful customer-facing way, which seems unlikely based on your description, I would suggest moving on. Best of luck to you on future endeavors!
I was thinking that.

For the price of hiring a react developer to make modifications + the cost you are better off letting the react developer only build what you want

Indeed, recurring revenue and customer relationships are what gives a company its worth. It's the hard bit for lots of modern startups, which could be cloned by a couple of devs in a relatively short space of time.
A similar thing happened to us. The technology always seems great and innovative (and it is), but the moment a replacement is found, it becomes instantly worthless.

...and so it becomes a huge gamble to pay for technology that doesn't have an active an immovable revenue stream.

I had the same thought. OP talks about authored code, but then lists all the pieces that are glued together into a solution.

That takes some customization, but he's not talking about a software product, he's talking about what amounts to a professional services integration of several existing products. Consulting gigs like that can make you money for your time, but the end result is too specific to the situation with too few lines of original code to have much/any value.

If OP hasn't been paid for his work and it's being suggested this software is his pay, then I'm going to agree with other posters and say his co-founder is just dumping him and walking away with anything worthwhile, including the percentage of the corporation OP had which might be worth $$$$ or $0 in the future depending and leaving him with worthless code... and if there's a no-compete written into the sunset agreement for him, he probably can't even use the code, sell it, or consult with it.

You need an assignment of IP for the code. Otherwise the copyright and thus, ownership stays with the company or whomever wrote the actual code.
You can try to sell them your app, but nobody will want it. A pile of code without the people who built it is next to worthless, and even with the people who built it, a product that doesn't have 'secret sauce' isn't worth anything.

If you open source it today, and give it away completely for free, you will be lucky if one person forks or stars the repo, then never looks at it again.

I'm sorry. NO. Just No.

Speaking as someone who not only invests in websites but authored some early studies on the fair value of micro-sites (back in 2012) that deal is utterly bogus.

The value of the business is in the traffic and audience, not the code. To be honest, getting rid of the legacy code and moving the site onto my standard platform is a major goal of the early integration process. I do not pay for code (sorry).

What you have been handed is the back-end of a potential product, the market value of which is unproven (since you haven't been given the customers). While I'm sure the technical quality of the work is excellent, there are multiple strikes against it from a business valuation perspective. Fight for your share of the store profits.

It doesn't seem like there are any customers? And it definitely doesn't seem like their cofounder "gets" the customers... if the site is being shut down and the code is being given away, then there aren't really customers anymore. And nothing said above makes me think there are any customers or revenue currently.
Indeed. From what I can tell, it sounds like an e-commerce company is bifurcating into:

- A B2C Shopify store, with the former traffic / audience

- Some kind of e-commerce platform (not yet a business)

To your point, if they were not already actively trying to market the code as a platform, this is an EXTREMELY hard reset for the second project and your best hope (if you're going to continue this path) is negotiate an acqui-hire.

Speaking as an investor again, the commercial side of the second project sounds like a potential goat rodeo. You're basically dealing with the sales cycle for selling a B2B infrastructure product (specialty e-commerce backbone) to small companies...

Guessing at the market size, you would need an average installed price north of $5 K to make a business viable which means you need a B2B outside sales team. Given that you're selling to startups, suspect getting above $100 K ticket price is a challenge. Strong likelihood of issues with customer acquisition costs > contribution margin.

Again... hand waving BS about the business I haven't seen, but much caution would be advised. The other guy definitely grabbed the crown jewels of the remaining business.

There are lots of people saying the code is probably useless and I’m among them, but you’re far from it. That is a difficult, modern stack that lots of people would need help implementing. You’re clearly quite skilled, and the consulting and labor markets would reward you handsomely. Use it as a sales tool to get a healthy stream of base income. There is always another startup if a job isn’t for you. Your location is increasingly irrelevant. Hopefully you can apply those valuable skills to a problem you enjoy solving.
I’ll add that cross-platform webRTC integration may be a strong thing to open with; it sounds unique and of value to those who would know it’s even possible.
Code is worth nothing.

Dump it and start something new.

It's a sunk cost.

I've got vast amounts of code from previous projects. All worthless.